Perl 6 - the future is here, just unevenly distributed

IRC log for #openam, 2016-11-18

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:48 ilbot3 joined #openam
02:48 Topic for #openam is now Chat about the OpenAM project - https://backstage.forgerock.com/#/downloads - OpenAM 13.5.0 is out! OpenAM 12.0.3 is out! Channel logs at: http://irclog.perlgeek.de/openam/today
08:20 aldaris joined #openam
08:38 jjpp good morning.
08:40 jjpp aldaris: it happens that i did write those few lines of code that make openam debuglog to go through JUL. (which is configured to go to syslog through log4j2 at tomcat level. because shipping logs to the central logging repo using graylog or syslog is a local requirement)
08:41 jjpp i wonder if there would be any hope/interest in getting it to your code base as well?
08:43 aldaris hi
08:43 aldaris if you had implemented debug -> slf4j then there is a good chance we'd want that
08:54 jjpp I started with slf4j. and then found out that you already have slf4j backend adapter for old debug mechanism (ie, anything that goes to slf4j would end up in generic debuglog)
08:54 jjpp which you could of course remove from war.
08:55 jjpp and then i decided for jul as i had just set it up to log where i wanted because of tomcat..
08:57 jjpp the difference was actually replacing LogFactory and Logger from slf4j with Logger from JUL and replacing the actual logging commands (these are slightly different in slf4j and jul, for jul i used log(Level, String, Throwable)
08:59 jjpp so.. if there was a way to disable the openam-slf4j package.. then the slf4j would make more sense for me >(
08:59 jjpp :)
09:01 jjpp (also, although jul has an api to configure logging levels of loggers -- slf4j does not and so the code does the filtering by itself to remain configurable with regular mechanisms. which means that it is easy to change it back for slf4j)
09:02 aldaris well if that solution is implemented, openam-slf4j could be removed from the build completely
09:05 jjpp assuming that this new mechanism would be able to replicate old mechanism. which it does not.
09:06 jjpp of course.. it might be that "how and where to debug log is written" is not a supported API :)
09:07 aldaris btw I'm talking about https://bugster.forgerock.o​rg/jira/browse/OPENAM-8472
09:11 jjpp oh, i kind of expected that there is something like that already
09:13 jjpp :)
09:15 jjpp my (completely independently written) code is essentially the same. module some style issues and the idea that i use DebugLevel enum :)
09:15 jjpp s/module/modulo
09:28 jjpp hm. the recording feature that is mentioned there in OPENAM-8472.. all it does is: sets debug directory to some alternative path, alters levels for some loggers, possibly logs (periodically?) some extra information such as thread dump and that is it?
09:38 KermitTheFragger joined #openam
11:33 aldaris joined #openam
11:39 MegaMatt joined #openam
13:29 aldaris joined #openam
14:18 aldaris joined #openam
14:59 aldaris joined #openam
16:15 aldaris joined #openam
18:34 aldaris joined #openam
20:35 aldaris joined #openam
23:58 aldaris joined #openam

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary