I use tail in the shell like so: tail -f '../iPhone Simulator log.txt' | sed -e 's/.*]/]/g'
Note that this strips off the time stamp, but there are options in the tail manual to specify a fair number of options on what you're getting back in the file you're tailing. On Mar 23, 2013, at 2:47 PM, Symadept wrote: > Hi, > I am using ASL to print the syslog. But here are the following points I am > looking for. > > 1. Everytime I tried polling for next messages it always gives me the > all the messages from the start. There is a timestamp entry. Is there a way > I can able to print from the last time stamp? > 2. How can I know that browser has be opened and closed from the SysLog > messages? > 3. How can I increase the log level, it seems to be always 4? > 4. Can I know similar thing for other apps too like Camera etc. > 5. Also can I understand what activities might have been happened within > those apps. > > Appreciate your help. > > Regards > Mustafa Shaik > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
