Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-09-26 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (493 votes). Check out past polls.