diff --git a/Dockerfile b/Dockerfile
index f2d8af593e..fa7e04ab3f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,8 +44,7 @@ RUN apt-get update \
RUN ln -s /usr/bin/python2 /usr/bin/python
COPY atlas-hub/atlas_start.py.patch atlas-hub/atlas_config.py.patch /opt/apache-atlas/bin/
-COPY atlas-hub/pre-conf/atlas-log4j.xml /opt/apache-atlas/conf/
-COPY atlas-hub/pre-conf/atlas-log4j2.xml /opt/apache-atlas/conf/
+COPY atlas-hub/pre-conf/atlas-logback.xml /opt/apache-atlas/conf/
COPY atlas-hub/pre-conf/atlas-auth/ /opt/apache-atlas/conf/
RUN mkdir /opt/apache-atlas/libext
diff --git a/atlas-hub/atlas-logback.xml b/atlas-hub/atlas-logback.xml
index 2479258d6f..ef63a78b93 100755
--- a/atlas-hub/atlas-logback.xml
+++ b/atlas-hub/atlas-logback.xml
@@ -21,15 +21,27 @@
- %date [%thread] %level{5} [%file:%line] %msg%n
+
+ logback: %d %-5p - [%t:%X{context-key}] - X-Atlan-Request-Id:[%X{X-Atlan-Request-Id}] - traceId:[%X{trace_id}] - span_id:[%X{span_id}] ~ %m (%C{1}:%L)%n
+
INFO
+
+
+ true
+ *
+ true
+ true
+
+
+
- ${atlas.log.dir}/${atlas.log.file
+ ${atlas.log.dir}/${atlas.log.file}
true
%date [%thread] %level{5} [%file:%line] %msg%n
@@ -40,8 +52,151 @@
true
-
-
-
+
+
+ ${atlas.log.dir}/large_messages.log
+ true
+
+ %date [%thread] %level{5} [%file:%line] %msg%n
+
+
+ ${atlas.log.dir}/large_messages-%d.log
+ 20
+ false
+
+
+
+
+ ${atlas.log.dir}/audit.log
+ true
+
+ %date [%thread] %level{5} [%file:%line] %msg%n
+
+
+ ${atlas.log.dir}/audit-%d.log
+ 20
+ false
+
+
+
+
+ ${atlas.log.dir}/tasks.log
+ true
+
+ %date [%thread] %level{5} [%file:%line] %msg%n
+
+
+ ${atlas.log.dir}/tasks-%d.log
+ 20
+ false
+
+
+
+
+ ${atlas.log.dir}/metrics.log
+ true
+
+ %date [%thread] %level{5} [%file:%line] %msg%n
+
+
+ ${atlas.log.dir}/metrics-%d.log
+ 20
+ false
+
+
+
+
+ ${atlas.log.dir}/failed.log
+ true
+
+ %date [%thread] %level{5} [%file:%line] %msg%n
+
+
+ ${atlas.log.dir}/failed-%d.log
+ 20
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file