"Marvin T. Pascual" <[EMAIL PROTECTED]> writes: > 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?
Have the logging services emit to a single logging application (preferably an app outside the monitored system, but near enough to it) and have that app do the logic of emitting log data to USB or elsewhere. The app could probably be a 9P service exported to the monitored system's /var/log, so writes to there actually end up somewhere else (in a database, for example.) This retains the old file interface while blending in some wicked functionality... Cheers, Zakame -- Zak B. Elep [EMAIL PROTECTED] _________________________________________________ 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

