Disable Server.log file

Discussion in 'Bukkit Help' started by Mindcraftson, Nov 13, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Mindcraftson

    Hi there, I recently found out that my server used up all the disk space and I discovered that is was the Server.log.txt file (Which was about 5GBs big. Yikes!). So just wondering if there's a way one may choose to disable the server.log.txt?
     
  2. Offline

    Bobcat00

    I suppose you can, but it's probably better to just limit the size.

    I use the following options:
    --log-limit 524288 --log-count 10 --log-strip-color

    This give me 10 log files, each no more than 0.5 MB in size. (server.log.0 is always the active log file.) You might want more or less, or bigger or smaller, depending on the amount of activity in your server.
     
  3. Offline

    CRAZYxMUNK3Y

    http://wiki.bukkit.org/CraftBukkit_Command_Line_Arguments

    As Bobcat00 mentioned, you can limit it, but you could also decide if you want to append it(add to log after each start) with;
    --log-append <true/false>

    Setting it to false will wipe the log file on each restart. That way is shouldn't get too big and you can still check things.
     
  4. Offline

    Bobcat00

Thread Status:
Not open for further replies.

Share This Page