Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Log rotaion for the files which are existed in the absolute paths from the config files

by perladdict (Chaplain)
on Mar 27, 2014 at 21:26 UTC ( #1080011=note: print w/replies, xml ) Need Help??


in reply to Re: Log rotaion for the files which are existed in the absolute paths from the config files
in thread Log rotaion for the files which are existed in the absolute paths from the config files

Hi Kcott,
For testing perpose i have created a config file as like below and created directory structure as like in below config and created few sample log files and text files in appropriate paths.I am getting the absolute path as like below
mesh0123 /tmp/rajp/test123/logs/ 185KB 3 mesh0456 /tmp/rajp/test456/ 255KB 2 mesh0789 /tmp/rajp/test789-/logs/ 240KB 2 mesh0001 /tmp/rajp/link/platform/log/ 185KB 4 /tmp/rajp/test123/logs/a.log /tmp/rajp/test456/logs/b.log /tmp/rajp/test789/logs/c.log /tmp/rajp/xxxxx/logs/d.log /tmp/rajp/yyyyy/logs/z.log /tmp/rajp/zzzzz/ab.txt /tmp/rajp/test/ac.log /tmp/rajp/test456/ad.txt /tmp/rajp/test789/logs/S.txt /tmp/rajp/test789/logs/T.txt /tmp/rajp//xxxx/log/a.log /tmp/rajp/xxxxx/platform/log/b.log /tmp/rajp/xxxxx/platform/log/c.log /tmp/rajp/yyyyyy/platform/log/d.log
  • Comment on Re^2: Log rotaion for the files which are existed in the absolute paths from the config files
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1080011]
help
Chatterbox?
[choroba]: if you modify them, Perl will crash with "Modification of a read-only value attempted" for $1
[choroba]: I can't replicate the situation, but I remember it was very hard to debug

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-02-22 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (297 votes). Check out past polls.

    Notices?