Solved Separating Console Outputs

Discussion in 'Plugin Development' started by Smeary_Subset, Sep 22, 2022.

  1. Offline

    Smeary_Subset

    Is there a way to separate console outputs? By default, everything is written to the console: player messages, any logs from plugins, other info generated from the server, etc. I want to be able to make my plugin's logs appear separate so I can just look at those instead of everything else outputted to the console. That way, I won't have to sift through the console to debug,

    Thanks,
    Smeary
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Smeary_Subset Could just ctrl+f in your log file.
    Or you need to make your own log file using a different logger.
     
  3. Offline

    Smeary_Subset

    Where are log files stored? I always just used the console directly...never knew there were files that were saved
     
  4. Offline

    timtower Administrator Administrator Moderator

    Next to the server jar there is a folder called "logs"
     
  5. Offline

    Smeary_Subset

    Alright. So how would I go about making my own logger? Never heard of such a thing
     
  6. Offline

    timtower Administrator Administrator Moderator

    You write lines to a file, kinda useless if you have the normal logs though.
     
  7. Offline

    Smeary_Subset

    Alright, I guess I'll resort to what I have on hand. Thanks for the help!
     

Share This Page