[
https://issues.apache.org/jira/browse/SSHD-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025265#comment-13025265
]
Guillaume Nodet commented on SSHD-127:
--------------------------------------
The api used is slf4j but you can use log4j by adding slf4j-log4j jar on the
classpath. You can then configure the log4j.xml or log4j.properties file.
> rolling log files
> -----------------
>
> Key: SSHD-127
> URL: https://issues.apache.org/jira/browse/SSHD-127
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Otto Frost
>
> Hello,
> I need to have rolling logfiles. It isn't acceptable to have logfiles growing
> over a size limit.
> What is the best way? Which log framework should be used?
> Rolling when the log file reach a certain size would be the best, but rolling
> once an hour or once a day would suffice.
> I want to use
> org.apache.log4j.rolling.RollingFileAppender
> but it needs DOMConfigurator which is not possible with slf4j?
> Stopping the server and roll the logfile using a script isn't a good solution.
> Any help appreciated.
> Regards
> Otto
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira