Forums Register Login

Create user wise Log file.

+Pie Number of slices to send: Send
Hi,
I am using log4j for logging my application errors.with this a common log file is creating for logger.
But in my company there is requirement like ,logger should create userwise log files.
Is it possible to create userwise log files with Log4j.
If yes please help me out.....
+Pie Number of slices to send: Send
Hi Pravin,

What i somwhow understan, your need is need to create log files based on user logged on.
Am i right?
What is the need behind this? I mean what exactly the need to create log based on userwise?
Is there any change in log file format or name blah blah?

if not, then could you please tell us what do you mean by userwise?

Thanks,
Tanzy.
+Pie Number of slices to send: Send
I don't really see how, but I could be wrong.

You can use the NCD stuff to add user information to log messages then post-process.
If you're gonna buy things, buy this thing and I get a fat kickback:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1294 times.
Similar Threads
Log4J - Different Log files for different parts of app
One Log File
Log4j, How to create a logger?
LOG4J
log files
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:51:24.