Logger

Configurable logging of chat, commands, connections, and more

Total Downloads: 2,424 - First Release: Oct 22, 2014 - Last Update: Feb 11, 2017

5/5, 18 likes
  1. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The BetterSay plugin uses the global.say command, which will be caught unless you have it in the Command Exclusions in the config.
     
  2. Freaky

    Freaky Shack Builder

    Code (Text):
    {
      "Command Exclusions": [
        "help",
        "version",
        "craft.add",
        "craft.canceltask",
        "global.kill",
        "global.respawn",
        "global.respawn_sleepingbag",
        "global.status",
        "global.wakeup",
        "inventory.endloot",
        "inventory.unlockblueprint"
      ],
      "Log Chat (true/false)": true,
      "Log Commands (true/false)": true,
      "Log Connections (true/false)": true,
      "Log Disconnections (true/false)": true,
      "Log Respawns (true/false)": false,
      "Log to Console (true/false)": false
    }
    My config (i deleted the global.say)... and doesnt show up in logs! But i wrote from RustAdmin who uses global.say and replaces with [Server Admin]:

    ... and in the log (between 1st line and 2nd line it supose to be [SERVER ADMIN]: hello):
    Code (Text):
    [02/12/2017 10:02:49] kyanfaaij (76561198305649630): WITH MY SULFUR
    [02/12/2017 10:26:50] RED (76561198242637224): hey
    [02/12/2017 10:27:26] kyanfaaij (76561198305649630): admin
    [02/12/2017 10:28:01] kyanfaaij (76561198305649630): admin
    [02/12/2017 10:28:20] kyanfaaij (76561198305649630): Animals spawn really rare can you change that?
     
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Did you reload the plugin after changing the config?
     
  4. Freaky

    Freaky Shack Builder

    of course ! :D
     
  5. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Ah, RCON doesn't use the same methods that everything else would, so commands wouldn't be caught there. RCON would require new hooks in Oxide.
     
  6. Freaky

    Freaky Shack Builder

    k... so... can you do it or ... ? :)
     
  7. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    It's not possible right now, but perhaps down the road if/when those hooks get added in Oxide.
     
    Freaky likes this.
  8. Freaky

    Freaky Shack Builder

    Ok. Thanks!
     
  9. DyingRust.de

    DyingRust.de Naked Wanderer

    I'm getting the following message now:
    Code (Text):
    Failed to call hook 'OnServerCommand' on plugin 'Logger v2.0.3' (IOException: Too many open files)
     
  10. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That isn't related to the plugin, that's a Linux error. Google "too many open files linux" for solutions.
     
  11. DyingRust.de

    DyingRust.de Naked Wanderer

    thank you for the fast reply!
     
  12. yannick10012

    yannick10012 Wood Hoarder

    Can you add the function to delete the old logs after an X amount of days?
     
  13. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    No, the plugin has no access to do that.
     
  14. yannick10012

    yannick10012 Wood Hoarder

    Any other way to achieve this?
     
  15. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    External script, tool, or extension.
     
  16. Riddle

    Riddle Wood Hoarder

    (01:05:48) | Error while compiling: Logger.cs(151,123): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `ArgsStr' and no extension method `ArgsStr' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
     
  17. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    You're using a fairly outdated version of the plugin.
     
  18. MechaDeath

    MechaDeath Naked Wanderer

    Hey Wulf,
    seems you're the author of yet ANOTHER indispensable plugin (awesome!). I see this logs respawns; is it possible to log kill events as well? I'd like to see how people are dying so much on our PVE server.
     
  19. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Well, it's technically a universal plugin and we do not have a hook for that yet, but I can add a special check for Rust and Hurtworld.
     
  20. i-593

    i-593 Naked Wanderer

    As I wrote here: Logs command in log-file? | Oxide

    Game Hurtworld
    Version: Oxide 2.0.3195 for Hurtworld 0.3.8.4 (48)

    My CONFIG file now:
    Code (Text):
    {
      "Command Exclusions": [
        "version"
      ],
      "Log Chat (true/false)": true,
      "Log Commands (true/false)": true,
      "Log Connections (true/false)": true,
      "Log Disconnections (true/false)": true,
      "Log Respawns (true/false)": true,
      "Log to Console (true/false)": true
    }
    Not logger file comands. (((
    Not logger file Respawned.

    .\common\Hurtworld Dedicated Server\oxide\logs
    Code (Text):
    logger_chat-2017-04-18
    logger_connections-2017-04-18
    logger_disconnections-2017-04-18

    and

    logger_chat-2017-04-19
    logger_connections-2017-04-19
    logger_disconnections-2017-04-19

    other
    compiler_19-04-2017
    oxide_2017-04-18
    oxide_2017-04-19