You would probably have to write your own appender.  You might want to
look at overriding the rolling date appender.

On 15 Dec 2005 04:51:48 -0000, Shailesh Barde <[EMAIL PROTECTED]> wrote:
>
> Friends,
>        I have to modify my application so that it will create a logs folder 
> having its name as per the user name who is logged in the 
> application.Also,that folder should  have Timestamp.
>        Presently i have a log4j properties in my WEB-INF\classes\ folder who 
> takes care of creating foler like 
> [debug.txt_2005_11_14.log,info.txt_2005_11_14.log,error.txt_2005_11_14.log].But
>  now i have modify it for getting the folder created like
> shailesh.txt_2005_12_15.log]where shailesh is name of user who logged in.
>       I have to create user specific log file.
>
>        1>Can anyone guide me to tell how the Userdefined Folder for logs has 
> to be created?
>        2>Does the root Logger need to be set with some specific appenders?
>
>        I have to carry out this task using lo4j.
>      Please guide....
>
>
> Regards,
> Shailesh
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to