Hi Marvin,

"...logging to a USB flash drive when needed".  I
guess that would depend on when exactly is "when
needed".  Once you define that, you just have to whip
up a short script to wait for that event, swap your
/etc/syslog.conf with one that specifies logging to a
USB flash drive, mount the flash drive, and then
restart the syslog daemon.  Ofcourse it would be
advisable to make a similar script to switch back to
normal logging once the "when not needed" event
occurs.

HTH,
-eric



--- "Marvin T. Pascual" <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> Currently, the /var partition is mounted under the
> tmpfs filesystem.  I
> was thinking of adding a way to write the logs to a
> USB flash drive when
> needed without interrupting the currently running
> services.  That means,
> logging to a USB flash drive is only done when
> needed and remove it when
> not needed.
> 
> Any idea on how I can implement this logging
> mechanism without
> interrupting the running services?
> 
> Thanks in advance.
> 
> Marvin
> 
> 
> 
> 
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
> 




 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to