1752785 Members
5944 Online
108789 Solutions
New Discussion юеВ

Re: Application logs

 
SOLVED
Go to solution
Spark_2
Frequent Advisor

Application logs

Hi,

Certain applications in my server send their logs to /opt. Creating a separate mount point would be wiser in such situation. How to go about it? Does it need application downtime?
3 REPLIES 3
R.K. #
Honored Contributor

Re: Application logs

Hi..

If the logs are NOT used by anything, you can make changes to config file of the application and direct logs elsewhere.
You can also try moving (or use a cron for this) the logs to other place and then create a soft link from original place (/opt).

Regds..
Don't fix what ain't broke
Suraj K Sankari
Honored Contributor
Solution

Re: Application logs

Hi,
>>Certain applications in my server send their logs to /opt. Creating a separate mount point would be wiser in such situation. How to go about it? Does it need application downtime?

Better ask your application team to change the path of your log. then create a saperate lv for the same.

if not able to change the applicaton then create a link directiory and put it in othere lv.

Suraj
Dennis Handly
Acclaimed Contributor

Re: Application logs

For the SVR4 filesystem layout, /opt should be read only. Configuration or possibly output files should be in /var/opt/.