Jump to content
  • 0

Log txt file to xterm script


Zyper143

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  22
  • Reputation:   0
  • Joined:  05/01/20
  • Last Seen:  

How to add log txt file while running map server in this xterm script. Thank you

xterm -title "Map Server" -bg black -fg white -hold -e $TESTRO_DIR/scripts/start_map_server.sh &

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  17
  • Reputation:   5
  • Joined:  01/06/12
  • Last Seen:  

Run the server with this command:

./athena-start start --enlog

This will save into log/map-server.log

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  22
  • Reputation:   0
  • Joined:  05/01/20
  • Last Seen:  

3 hours ago, -Chuck- said:

Run the server with this command:


./athena-start start --enlog

This will save into log/map-server.log

Thank you for your response! Is this for screen command? Because I'm running desktop script via xterm on vnc not screen.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  17
  • Reputation:   5
  • Joined:  01/06/12
  • Last Seen:  

1 minute ago, Zyper143 said:

Thank you for your response! Is this for screen command? Because I'm running desktop script via xterm on vnc not screen.

Yes, just go to your server folder using cd command, type the command I sent above and press enter. This will start and save logs when its running.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  22
  • Reputation:   0
  • Joined:  05/01/20
  • Last Seen:  

3 hours ago, -Chuck- said:

Yes, just go to your server folder using cd command, type the command I sent above and press enter. This will start and save logs when its running.

 

Unkown option


image.png.62ccaff81946d653aea56e543b16e46b.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...