diff --git a/usrguide/java_referenceguide/13-tips_&_troubleshooting.adoc b/usrguide/java_referenceguide/13-tips_&_troubleshooting.adoc
index fa6366bb80f4963e14751d4fab69012eefa03892..a95a45c84da79f6a9c80d1153661c11e343c742f 100644
--- a/usrguide/java_referenceguide/13-tips_&_troubleshooting.adoc
+++ b/usrguide/java_referenceguide/13-tips_&_troubleshooting.adoc
@@ -135,7 +135,7 @@ Here is an example, which logs an integer value:
 [source]
 ----
 int myVar = 5;
-TTCN_Logger.log(Severity.WARNING_UNQUALIFIED, ''myVar = %d'', myVar);;
+TTCN_Logger.log(Severity.WARNING_UNQUALIFIED, "myVar = %d", myVar);;
 ----
 
 Sometimes the string to be logged is static. In such cases there is no need for `printf`-style argument processing, which may introduce extra risks if the string contains the character `%`. The logger class offers a function for logging a static (or previously assembled) string: