Extreme log spam

Discussion in 'Bukkit Help' started by racecar56, May 25, 2011.

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

    racecar56

    I run a special script I wrote myself that basically launches Bukkit like this:

    Code:
    java -Xincgc -jar craftbukkit-0.0.1-SNAPSHOT.jar >~/mcserver/logs/mcserver-$DATE.log 2>&1 &
    $DATE is the UNIX time of the server launch.

    The log is full of ">" without quotes. The server functions fine but this gets to be a very large amount and can go in the gigabyte ranges. Does anyone know how to fix this?

    Total spec breakdown:
    Debian GNU/Linux 6.0 AMD64
    CB #803
    java version "1.6.0_22"
    OpenJDK Runtime Environment (IcedTea6 1.10.1) (6b22-1.10.1-0ubuntu1)
    OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

    EDIT: 798 has this problem too. I think 766 didn't have this problem.

    EDIT 2: 766 works well with my modern plugins and also has no log issue.
     
  2. Offline

    Zaros

    I'm having this issue myself. I have no idea whats causing it, and its really starting to interfere with work. Running CB 803
     
  3. Offline

    racecar56

    CB 813 still has this issue.
     
  4. Offline

    resba

  5. Offline

    racecar56

    Yes I know 813 is not, but 803 was. I was testing 813 to see if they had fixed the bug since the last recommended build, and they haven't.

    I have found a cheap solution. If your script redirects standard output, tell it to send it to /dev/null like this:

    java -jar craftbukkit-0.0.1-SNAPSHOT.jar 2>your_log_file >/dev/null &

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
Thread Status:
Not open for further replies.

Share This Page