Skip to main content

Thread: bash logging pipe in


hi,

i'm not sure if correct forum here goes:-

want log output programm log file, , currectly using pipe redirection
program > logfile.log 2>&1 &

works ok, program produces 1000's messages along lines of "connection closed", log can large (3-6mb). i've seen linux has tool "logger" combines messages same (last message repeated 5 times). eveyrthing i've tried logger log pipein (from program) log file (of choice) doesn't seem work.

there program want?

regards
ian dobson

code:
program 2>&1 | logger
you might want options logger command. see man logger.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk bash logging pipe in


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support