I was trying to print logger on session startup events, but it was not working. What would be the possible reason for that? Last time when i logged in, it was working.
You are attempting to create a logger with the same name twice, remove the second call to system.util.getLogger
(line 7).
Other than that I'm not seeing anything out of place. id
might be an unsupported logger name, try changing it to something like hostId
or similar.
Also, post code, not pictures of code. It helps when someone needs to try your code themselves.
2 Likes