Change server log output to different file

Discussion in 'Plugin Development' started by collielimabean, Jul 11, 2013.

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

    collielimabean

    Alright, so I am making a program that will need to take Bukkit's getLogger() output into an external Java program. I know I could try to access the server.text file and then just read it, but I'm afraid I will run into some IOException or ConcurrentModificationException, simply because another thread/application is accessing the same file. Is there a way to (in essence) modify the way CraftBukkit outputs its logs such that my program can safely access them?
     
Thread Status:
Not open for further replies.

Share This Page