diff --git a/smartgears/smartgears/templates/logback.xml.j2 b/smartgears/smartgears/templates/logback.xml.j2
index d4984fa..6dd1d06 100644
--- a/smartgears/smartgears/templates/logback.xml.j2
+++ b/smartgears/smartgears/templates/logback.xml.j2
@@ -3,7 +3,7 @@
{{ smartgears_log_dir }}/ghn.log
true
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
+ %date [%thread] %-5level %logger{0}: %msg%n
{% if smartgears_log_use_timesize_appender %}
@@ -24,7 +24,7 @@
{{ smartgears_log_dir }}/accounting.log
true
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
+ %date [%thread] %-5level %logger{0}: %msg%n
{% if smartgears_log_use_timesize_appender %}
@@ -45,7 +45,7 @@
{{ smartgears_log_dir }}/access.log
true
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
+ %date [%thread] %-5level %logger{0}: %msg%n
{% if smartgears_log_use_timesize_appender %}
@@ -67,7 +67,7 @@
{{ smartgears_log_dir }}/analysis.log
true
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
+ %date [%thread] %-5level %logger{0}: %msg%n
{% if smartgears_log_use_timesize_appender %}
@@ -99,7 +99,7 @@
/home/gcube/tomcat/logs/{{ obj.appender_file_name }}.log
true
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n
+ %date [%thread] %-5level %logger{0}: %msg%n
/home/gcube/tomcat/logs/{{ obj.appender_file_name | default('custom') }}.%d{yyyy-MM-dd}.%i.log