Console.app alternative for Terminal

3

1

Is there a neater way to follow console messages in Terminal rather than tail -f tons of logs?

Konzepz

Posted 2011-07-22T06:30:09.163

Reputation: 785

We could help you better if you explained what you mean with "neater". Less output? Better-looking output? Filtered output? – Beat Bolli – 2011-07-22T15:56:07.160

Answers

1

Yes. The syslog(1) command-line tool lets you run detailed queries against the Apple System Logger (ASL) database, which is the central clearing house for all* log messages. See the man page. To exactly emulate seeing just the console log stream, use:

syslog -C -w all

**all: Some apps still open and write their own log files directly instead of using the ASL facilities. ASL can't see those.*

Spiff

Posted 2011-07-22T06:30:09.163

Reputation: 84 656