TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:3621] Logfile?



> I am not sure if the ">>" maintains a lock/unlock so if there are 2
> programs doing a ">>" how the output would appear to be.
>
> Take a look at "man 3 syslog" for more information. For a script
> you can use the "logger" command. The man page should contain
> more information.

	Yep, definitely use "logger" -- a tool of which I was blissfully unaware
(one of these days I'm going to have to read the manpages for all that stuff
in /usr/sbin I never use. I keep finding about these things *after* I've
already clumsily rewritten them.)