[
https://issues.apache.org/jira/browse/LOG4J2-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020735#comment-14020735
]
Bobby commented on LOG4J2-661:
------------------------------
I'm sorry for late response,
I have attached screenshot when configuration set true, btw there are few
things that i forgot to mention:
1. The app is an enterprise level with multi threaded environment, every class
with log4j2 is multi threaded mostly.
2. I am using JBOSS 7.1.0
3. This is a simple layout of how my app (WAR) work
myAPP --hasDependenciesTo--> myLib.jar (Using apache.log4j)
I don't know if it is a problem though, but in case you need, i attached my
WEB-INF/lib contents
Also, i move to log4j2 aside of performance problem, is because currently i am
having problem with log4j deadlock issues, like stated here
https://issues.apache.org/bugzilla/show_bug.cgi?id=41214, does log4j2 already
cover up this one? If not, the workaround perhaps is by disabling the log.
Thank You Very Much
> AsyncLogger with RollingFileAppender Daily Per Hour Not Working
> ---------------------------------------------------------------
>
> Key: LOG4J2-661
> URL: https://issues.apache.org/jira/browse/LOG4J2-661
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders, Configurators
> Affects Versions: 2.0-rc1
> Environment: CentOS release 6.5 (Final)
> Memory 16GB
> AMD Phenom(tm) II X6 1090T Processor
> JBoss 7.1.0-cr1
> Reporter: Bobby
> Labels: async, daily, features, hourly, rolling
> Attachments: log4j2-trace.png, log4j2.xml
>
>
> Using attached configuration i expect:
> router.log --> currently written file
> router.log.2014-06-20-00
> router.log.2014-06-20-01
> ...
> router.log.2014-06-20-23
> router.log.2014-06-21-00
> ...
> But instead i got:
> router.log
> router.log.2014-06-20-1 --> One day worth of logs
> I want to achieve daily rolling file with per hour rolling, so far I haven't
> been able to produce the log with proper format, and as I remember, the
> interval parameter seems like to increment by day not hour, like stated in
> documentation.
> I have tried [[email protected]] suggestions to use $${date:yyyy-MM-dd} in
> filePattern as suggested in
> http://stackoverflow.com/questions/24051421/log4j2-asynclogger-rolling-file-appender-not-rolling-daily-per-hour,
> but still got same result.
> I didn't however, test this in sync logger, because i need the async one, as
> for sync one i already have with old log4j.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]