Problems Get Qconsole Logfile To Work

Discussion in 'Scripting' started by slimbips, Jul 6, 2012.

  1. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    hi i made a mod but it crashes so i want to put on a logfile and this is what i put in server.cfg

    // Server Logs
    set g_logstats "0"
    set logfile "3" //console log - 0=no log 1=buffered 2=continuous 3=append
    set g_log "qconsole.log"
    set g_logSync "1"
    set developer "2"

    i thought it supposed to create a qconsole file in my map above main.....what did i wrong?
  2. loeri loeri.tk

    Contributions:
    49
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    If its linux then u got a problem :(
  3. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    so i cant log files when im having a linux server?....and there is no other way to see where my mod is bugging me?..:(
  4. loeri loeri.tk

    Contributions:
    49
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    I got myself a linux box and servers wont generate log files even with all diff setting although it just makes the qconsole.log but its ... empty

    What mods are u running?
  5. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    I just spawned alot of boxes tables sandbaggs and stuff on des village, and its my first mod so if it not crashes all the time i want to put it on my server and want to see if people enjoy it:)
  6. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    allied assault btw
  7. zlatko Staff Sergeant

    Contributions:
    156
    Specialties:
    Mapper, Scripting, Pure Gamer
    Processing:
    Graphics:
    PREMIUM
    I Donated
    try this
    // logging
    seta g_logstats 1
    seta g_log "qconsole.log"
    seta g_logSync "1"
    seta developer "0"
    seta logfile "1"
  8. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    Doesnt work for my linux server...do u use it and does it work?, becease loeri says would not work on linux......
  9. loeri loeri.tk

    Contributions:
    49
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Ok i can help u with generating the log file unless u dont know where its palced on the linux machine, is it a rented server?

    +set dedicated 2 +set developer 2 +set chat 1 +set sv_chatter 1 +set logfile 2 +set ui_console 1 +set fs_outputpath /games/mohaa/log +set logfilename qconsole.log +exec server.cfg

    Also if u have acces to the full machine try to find a folder in folder ~ named .mohaa or .spearhead_lnxded
  10. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    rented server...yeah got fully acces, and i have the folder named moha_lnxded but what i have to do with it?

    // logging
    set dedicated 2
    set developer 2
    set chat 1
    set sv_chatter 1
    set logfile 2
    set ui_console 1
    set fs_outputpath /games/mohaa/log
    set logfilename qconsole

    Thats the way u want it?, i want to be sure im not working for a long time with it, still practising..:)
  11. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    that way should it be in server.cfg?
  12. loeri loeri.tk

    Contributions:
    49
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    yeah or if u have acces to command line, there also
    Just find out your location on the server, like i nconsole type path or dir, ..
  13. slimbips Corporal

    Contributions:
    4
    Processing:
    Graphics:
    i have a windows server now so i cant give an right solution annymore:(

Share This Page