Topic: How to logging?
Im try to use functions
teewars_srv -f conf.cfg | tee log.log
and
teewars_srv -f conf.cfg >> log.log
And log file is empty. How to do it?
You are not logged in. Please login or register.
Teeworlds Forum → Support → How to logging?
Im try to use functions
teewars_srv -f conf.cfg | tee log.log
and
teewars_srv -f conf.cfg >> log.log
And log file is empty. How to do it?
./teeworlds_srv -f config.cfg > log.log
and nothing
Are you using linux?
Shell on Gentoo
./teewars_srv -f conf.cfg | tee log.log
should do the trick...
Whaaa? What is tee log.log?
I am using ubuntu and ./teeworlds_srv -f config.cfg > log.log works for me. It should work on gentoo to.
tee is a command that reads stdin and both saves it to a given file and writes it to stdout
Oh, weird how I don't have to use it to get my logs.
Teeworlds Forum → Support → How to logging?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.