Solved Modifying Logging

Discussion in 'Plugin Development' started by Xemiru, Oct 19, 2012.

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

    Xemiru

    So I have my plugin working (finally, java stopped hating on me), but when a command is done, it shows who did it and the arguments of the command.
    The problem here is that the plugin is a security plugin, and said command can either be /login or /register.

    Any possible ways to make the console not log specified things?

    Nevermind, I found something.
    getLogger().setFilter(new Filter() { body }); works.

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

Share This Page