Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Log File Default Location Linux

  1. #1

    Default Log File Default Location Linux

    I'm not sure if MOHAA can do this already or not, but I've noticed that on Linux (LINUX ONLY), MOHAA's logfile is located in a hidden directory in the user's home folder /home/user/.mohaa

    Can we have it store the log in the qconsole.log file that is in the main directory from where the server executable is running? I'm not even sure why linux does this to begin with, and it's really annoying. It should log all information in the qconsole.log file rather than in a log file located in a hidden directory...

  2. #2
    Testing Crew Member dax's Avatar
    Join Date
    Aug 2010
    Location
    liverpool uk
    Posts
    549

    Default

    hi own3mall...
    i think it depends on server host ,i am with gameservers and all logs are in main.
    previously with elitserve the log was in the .mohaa hidden folder .
    =COH=Ubersoldier/Dax
    mess with the best ,die like the rest !!!

  3. #3

    Default

    I own my servers which are in datacenters, and I can tell you, that my log file is always stored in the the hidden directory of my main user account in .mohaa and this is so annoying... how do we make it log in qconsole.log in the MAIN directory for the server on Linux?

  4. #4
    Testing Crew Member dax's Avatar
    Join Date
    Aug 2010
    Location
    liverpool uk
    Posts
    549

    Default

    hi again ...
    the best people to ask would be the ones who maintain the servers in the datacenter,i.e support .
    they will be more conversant with the iteration of linux on your boxes and how to change the default folder structure.
    edit*** if its any help this is from our server log :/home/clanbot/.mohaa/main
    which suggests to me that the main folder is stored in the hidden folder >.mohaa !!!! ???
    Last edited by dax; September 16th, 2012 at 07:08 AM. Reason: edit
    =COH=Ubersoldier/Dax
    mess with the best ,die like the rest !!!

  5. #5

    Default

    Hey All,

    I tested these settings I found in the server cfg page on the wiki, and it doesn't work. Log file is still in .mohaa hidden directory.

    Code:
    seta fs_basepath .
    seta fs_userpath /log
    seta fs_outputpath /log
    seta logfilename "qconsole.log" //deactivated
    // seta writeconfig "config.log" //deactivated
    seta logfile 3
    seta g_logSync "1"
    seta sv_chatter 1

  6. #6

    Default

    Also, I noticed that only 1 logfile is kept in the /home/user/.mohaa/qconsole.log. However, I run several servers on my box, and it would be nice if they could place the log file in its normal mohaa/main/qconsole.log file. Could this be fixed? Affects Linux only

  7. #7
    Über Prodigy & Developer Razo[R]apiD's Avatar
    Join Date
    May 2010
    Location
    Poland, Lublin
    Posts
    3,257

    Default

    Maybe your linux changes the working directory? As far as I know, you can change the name of the logfile too.

  8. #8

    Default

    Quote Originally Posted by Razo[R]apiD View Post
    Maybe your linux changes the working directory? As far as I know, you can change the name of the logfile too.
    Perhaps I am not using the correct syntax? I've tried:

    Code:
    seta fs_basepath .
    seta logfilename "qconsole.log"
    seta logfile 3
    seta g_logSync "1"
    seta sv_chatter 1
    On all of my servers, and it does not appear to work. The /home/user/.mohaa directory only has 1 log file

    Have you tried it on Ubuntu? Can anyone else please confirm if this works or not?

    I've noticed that other Q3 based games I host on my Linux server also do the same thing

  9. #9
    Über Prodigy & Developer Razo[R]apiD's Avatar
    Join Date
    May 2010
    Location
    Poland, Lublin
    Posts
    3,257

    Default

    This is your Ubuntu settings issue. Ubuntu probably does the same thing as Win7 does, it moves application data files to special directory (AppData on Win7), so they don't write files to directories that could be accessed by other users. You have to ask on Ubuntu forums.

  10. #10

    Default

    OK, I'll see what I can find. Thanks! I'll update this thread when I do... when I have time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •