mardi 5 mai 2015

Can I restrict log4.properties generated log file to be accessed with user credentials

I am using tomcat to host my web applications. I configured log4j.properties for each application and generating a log text file for every application successfully. I am even able to see the generated log file in the browser as the files of the application get done.

But the issue here is, I don't want every one to see that log file. I want to restrict to only specific user or group of users. That means my requirement looks nearly to a web page getting authenticated before getting accessed. So, is there any property in the log4j.properties file to configure for such requirement or even any where in the OS, I can cofigure to restrict the log file viewed by everyone?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire