Search Unity

headless server custom player.log position

Discussion in 'Linux' started by Gameccino, Oct 22, 2016.

  1. Gameccino

    Gameccino

    Joined:
    Aug 1, 2012
    Posts:
    40
    Hi,
    I have a game with two separate headless servers running on linux (ubuntu 16), one server for mobile and the other for webgl clients.
    Both write their log on the same Player.log file giving me some headaches in finding which server has an issue.

    I there a way to customize the location where the headless server writes its logs?
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    Yes, you can use the -logfile command line argument.
     
    Gameccino likes this.
  3. Gameccino

    Gameccino

    Joined:
    Aug 1, 2012
    Posts:
    40
    Great! Thank you.