Re: script that logs to syslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Mark Haney wrote:
> I have a need for one of my bash scripts to log to syslog instead of
> it's own file.  I've googled various ways and found very little to
> help me.  Is there a down-and-dirty way to do this?

logger(1) should do what you want:

logger - a shell command interface to the syslog(3) system log module

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Put the key of despair into the lock of apathy. Turn the knob of
mediocrity slowly and open the gates of despondency - welcome to a day
in the average office.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJE+FRgJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjibAIAJ093qtN6TkkanhEYx3dMI952JCZ9TQlyD+m
JNx1S0IsBW3im6zEvjv2geLktmm7jvS2/IOA671wGgCbZL9l9S6YYH6cMqLoIzku
yckeJL5o4/igaUfCzEHeyraLeGJpa1IADCqozdbdUCprPjGu3ObHk1IdeNykvV/x
fgK1N9wnapBeTvYxtWJ3xLxhvPCOa89gnyxen/6Az/7gtURdxUZ75stE4xqhpSZU
yNqN5ZnNvVHPMfdlqKrCLsXEod4k57g7CpUmdocBm3mSjCV6gYymPoddQmIzTVrk
uCs6Gyp1Qp3igEeguzS39I1+bhYwi8Jo9HoSHT0hvL+1dqnekmE=
=qMWe
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux