Re: CF 7.0.1 output to console on OS X

2006-01-26 Thread Ken Dunnington
That's a great idea, except what I really like about having CF's output go to console is I get more than what's in cfserver.log. I get trace statements, flash remoting calls, error messages, etc. Now, if there's a quick and easy way to monitor several logfiles at once, concatenating them to the

CF 7.0.1 output to console on OS X

2006-01-25 Thread Ken Dunnington
When I was running MX 6 and 7.0 on my OS X box, I would usually launch CF in a terminal window and leave that window open so I could see the various status messages, flash gateway notices and trace outputs in realtime. This saved me the effort of combing through a 5,000+ line error log and was in

Re: CF 7.0.1 output to console on OS X

2006-01-25 Thread Barney Boisvert
Another option would be to use `tee` to send everything both places. I believe this is the syntax you'd want, but don't quote me on that. eval $CFSTART 21 | tee -a $CF_DIR/logs/cfserver.log You could, of course, combine the two techniques so that you get whatever you want in each place (both to

Re: CF 7.0.1 output to console on OS X

2006-01-25 Thread Sean Corfield
Why not just tail the log as stuff is written to it? tail -f cfserver.log On 1/25/06, Barney Boisvert [EMAIL PROTECTED] wrote: Another option would be to use `tee` to send everything both places. I believe this is the syntax you'd want, but don't quote me on that. eval $CFSTART 21 | tee -a

Re: CF 7.0.1 output to console on OS X

2006-01-25 Thread Barney Boisvert
What if you need 11 lines? Or 50? Easier to scroll back a terminal window than have to pipe repeated tails through less, especially since you can use the scroll wheel in the terminal. cheers, barneyb On 1/25/06, Sean Corfield [EMAIL PROTECTED] wrote: Why not just tail the log as stuff is

Re: CF 7.0.1 output to console on OS X

2006-01-25 Thread Sean Corfield
On 1/25/06, Barney Boisvert [EMAIL PROTECTED] wrote: What if you need 11 lines? Or 50? Easier to scroll back a terminal window tail -f shows *all* continuous output, just as if you had it printing to the console anyway. You can scroll back in Terminal as much as you need. If the file doesn't

Re: CF 7.0.1 output to console on OS X

2006-01-25 Thread Barney Boisvert
Well what do you know. And it looks like using -F instead of -f will even handle the file is inaccessible issue magically, at least on Linux. Oh, how I love unix untilities. Remember kids, said the old man, never doubt Sean. ; ) cheers, barneyb On 1/25/06, Sean Corfield [EMAIL PROTECTED]