Additional debug information not working


In the configuration section for logging there is an option for specifying additional log information


I have put this in my application.yml file but I don’t see any additional information in shinyproxy.log, does it appear in another file?


Hi @akenny,

Not sure if that’s just copy-paste behaviour, but your post isn’t properly indented. Can you confirm that your yml file is?

The additional logging should indeed appear in the same log file that is in your working directory.


Hi @fmichielssen

Sorry yes that is a pasting issue.
The following image shows how it is indented. Is this correct?



Yes, that looks correct.
I’m not sure what could be going wrong here. I just tried and got debug logging:

2018-02-27 10:08:43.029 DEBUG 12636 — [ XNIO-2 task-8] o.s.s.l.a.LdapAuthenticationProvider : Processing authentication request for user: tesla
2018-02-27 10:08:43.042 DEBUG 12636 — [ XNIO-2 task-8] o.s.s.l.a.BindAuthenticator : Attempting to bind as uid=tesla,dc=example,dc=com
2018-02-27 10:08:43.243 DEBUG 12636 — [ XNIO-2 task-8] o.s.s.l.a.BindAuthenticator : Retrieving attributes…
2018-02-27 10:08:43.334 DEBUG 12636 — [ XNIO-2 task-8] .s.s.l.u.DefaultLdapAuthoritiesPopulator : Getting authorities for user uid=tesla,dc=example,dc=com
2018-02-27 10:08:43.334 DEBUG 12636 — [ XNIO-2 task-8] .s.s.l.u.DefaultLdapAuthoritiesPopulator : Searching for roles for user ‘tesla’, DN = ‘uid=tesla,dc=example,dc=com’, with filter (uniqueMember={0}) in search base ''
2018-02-27 10:08:43.602 DEBUG 12636 — [ XNIO-2 task-8] .s.s.l.u.DefaultLdapAuthoritiesPopulator : Roles from search: [Scientists]
2018-02-27 10:08:43.603 DEBUG 12636 — [ XNIO-2 task-8] o.s.s.l.u.LdapUserDetailsMapper : Mapping user details from context with DN: uid=tesla,dc=example,dc=com

Are you also certain that this is the yml being read by shinyproxy? I.e. it is located in the working directory of the process?