[Rule-list] Logging in Slinky [was: Introduction]

Michael Fratoni mfratoni at tuxfan.homeip.net
Thu Apr 18 04:00:46 EEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 17 April 2002 08:34 pm, Martin Stricker wrote:
> Michael Fratoni wrote:

> > Logging is less than optimal at present. The log only contains info I
> > have told the scripts to write out. I could redirect the errors to
> > the log in full, I suppose. I'll give it a shot anyway. I haven't
> > figured out redirection in the 'msh' shell included with busybox.
> > Standard bash redirection doesn't seem to work properly.
>
> Is tee available? If so, just pipe everything through it:
> some command | tee logfile

Thank you Martin!
Tee is available, and it never occured to me to use that. I've been too 
busy fighting with various iterations of "command > logfile 2>&1" to 
consider the solution staring me in the face. 

Something about not seeing the forest for the trees comes to mind. ;)

I'm testing this now.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjy+Gr4ACgkQn/07WoAb/Su2PQCgsjbpcnWVX89ssPZXcHk0l3Il
93YAn1Enxe9sK4FQ/1khtB6pFiDgZspT
=z7S/
-----END PGP SIGNATURE-----

_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here