NekoNova 0 Posted February 5, 2014 Okay, this is probably a silly question, but we have our server running. When I start the server through SSH, I see the log output in the console. Now I reconnect the SSH; but I'm not getting any log output anymore in console. How can I get the logs streamed again to my console? I would like to see the errors being produced by scripts for debugging. Quote Share this post Link to post Share on other sites
0 Mumbles 193 Posted February 6, 2014 As jaBote stated, download and install screen: sudo apt-get install screen Once it's installed, create a new screen for each zone: screen -S logincd path/to/server/files./login-server Detach from your first screen by pressing Ctrl A D simultaneously, then create a new one for your char and map zones, repeating a similar process to the one I showed. If you've done it correctly, you'll be able to resume the screens for each zone. To resume the map zone's screen, input this: screen -S map The same method applies to other zones as well. To terminate (shut down) a zone, press Ctrl C simultaneously. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted February 6, 2014 You usually want to debug on a test server. Can't be much of a help right now because I'm on my cellphone, but try installing and applying screen on your server (apt-get install screen) and run your server on screens for attaching later. Or google something similar to "output of a program to a file linux", I'm getting very good results on that one. Sorry I can't be of much help right now. Quote Share this post Link to post Share on other sites
0 NekoNova 0 Posted February 6, 2014 Went with the screen approach after rebooting the server, seems to be the cleanest solution so far. Thanks for the feedback Quote Share this post Link to post Share on other sites
Okay,
this is probably a silly question, but we have our server running.
When I start the server through SSH, I see the log output in the console.
Now I reconnect the SSH; but I'm not getting any log output anymore in console.
How can I get the logs streamed again to my console?
I would like to see the errors being produced by scripts for debugging.
Share this post
Link to post
Share on other sites