Re: Logging for several VMs [message #2409 is a reply to message #2406] |
Mon, 03 April 2006 22:40 |
|
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
Your intial post is in stark contrast to your later clarification... but now that we understand what you want...
Remember that you do have access (as root anyway) to all of the files under /vz/private/nnn/var/log/. I guess you could create symlinks to the desired files and have them appear in /var/log/ on the hardware host with the desired name. For example:
ln -s /vz/private/101/var/log/messages /var/log/101-messages
Lather, rinse, repeat. Did that meet your criteria?
Heck, you could make a directory for each VPS in /var/log and then symlink everything if you wanted to organize by directory.
mkdir /var/log/vps101
ln -s /vz/private/101/var/log/messages /var/log/vps101/messages
Was there something you wanted to do with all of the logs from all of the VPSes?
--
TYL, Scott Dowdle
Belgrade, Montana, USA
|
|
|