You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Vidhya Thawale (JIRA)" <ji...@apache.org> on 2015/12/16 11:53:46 UTC

[jira] [Created] (LOG4NET-498) Dynamic log folder creation and with logname setting at run time

Vidhya Thawale created LOG4NET-498:
--------------------------------------

             Summary: Dynamic log folder creation and with logname setting at run time
                 Key: LOG4NET-498
                 URL: https://issues.apache.org/jira/browse/LOG4NET-498
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 1.2.14
            Reporter: Vidhya Thawale


Hi,

Is there any way to create a log folder based on the date and log file  name setting can be done at run time.
For example -
c:\Logs\20151216\deviceID_0.log

c:\Logs can be static path.
20151216 - can be date (for each day new folder should be created)
and deviceID_0 unique name which has activity happening on the device.

the above structure is very useful for doing good analysis.

I don't think with the current rolling file appender we can configure this in app.config. Event if programmatically we want to do will it cost the performance..

Please let me know how this can be achieved ?

Thanks & Regards,
Vidhya






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)