diff --git a/roles/oidcng/templates/logback.xml.j2 b/roles/oidcng/templates/logback.xml.j2
index c1061bac8..31322655f 100644
--- a/roles/oidcng/templates/logback.xml.j2
+++ b/roles/oidcng/templates/logback.xml.j2
@@ -8,6 +8,20 @@
+
+ {{ ansible_fqdn }}
+ 514
+ {"app":"oidcng"}
+
+ [ignore]
+ [ignore]
+ [ignore]
+
+
+ oidcngjson:
+
+
+
{{ smtp_server }}
{{ noreply_email }}
@@ -15,15 +29,30 @@
{{ error_subject_prefix }}Unexpected error oidcng
-
+
+ com.nimbusds.oauth2.sdk.ParseException
+ org.springframework.security.authentication.BadCredentialsException
+ oidc.exceptions.UnauthorizedException
+ oidc.exceptions.RedirectMismatchException
+ org.springframework.dao.EmptyResultDataAccessException
+ java.lang.IllegalArgumentException
ERROR
-
+
+
-
+{%if oidcng_logback_file |bool %}
+
+{%endif%}
+{%if oidcng_logback_email |bool %}
+{%endif%}
+
+{%if oidcng_logback_json |bool %}
+
+{%endif%}