Does not Log Multiple Worlds? #66


  • New
  • Defect
Open
Assigned to _ForgeUser7076494
  • _ForgeUser7637178 created this issue Oct 2, 2011

    What is the problem?
    Hawkeye does not seem to log any worlds other then the default world.

    What steps will reproduce the problem?
    1. Make a new world
    2. Teleport to world
    3. Try to use Hawkeye

    What version of HawkEye are you using (shown in console during start-up)?
    1.0.5
    I am also using Multiverse for world managment

    Show me any console errors and/or your start-up console message for HawkEye
    19:16:55 [INFO] [HawkEye] Starting HawkEye initiation process...
    19:16:55 [INFO] [HawkEye] Using Permissions for user permissions
    19:16:55 [INFO] [HawkEye] Performing update check...
    19:16:56 [INFO] [HawkEye] No updates available for HawkEye
    19:16:56 [INFO] [HawkEye] Starting database cleanse thread with a period of 3628800 seconds
    19:16:56 [SEVERE] [HawkEye] Unable to start cleansing utility - check your cleanse age
    19:16:56 [INFO] [HawkEye] WorldEdit found, selection rollbacks enabled
    19:16:56 [INFO] [HawkEye] Version 1.0.5 enabled!

    Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)
    block-filter:
    - 97
    - 98
    log:
        lava-bucket: true
        painting-place: true
        other: true
        pvp-death: true
        block-fade: true
        chat: true
        enderman-place: true
        quit: true
        sign-place: true
        enderman-pickup: true
        painting-break: true
        lava-flow: true
        flint-steel: true
        button: true
        command: true
        block-form: true
        teleport: true
        lever: true
        item-drop: true
        water-bucket: true
        block-burn: true
        sign-break: true
        block-break: true
        leaf-decay: true
        water-flow: true
        join: true
        door-interact: true
        block-place: true
        open-container: true
        item-pickup: true
        explosion: true
        container-transaction: true
        mob-death: true
        other-death: true
    general:
        check-for-updates: true
        max-lines: 0
        tool-block: '17'
        log-item-drops-on-death: false
        cleanse-age: 6w
        default-tool-command: ''
        delete-data-on-rollback: false
        cleanse-period: 20m
        log-ip-addresses: true
        debug: false
        max-radius: 0
        default-here-radius: 5
    mysql:
        hawkeye-table: main
        port: 3306
        player-table: players
        username: hawkeye
        world-table: worlds
        hostname: [REDACTED]
        max-connections: 10
        password: [REDACTED]
        database: hawkeye
    version: 1.0.5
    command-filter:
    - /login
    - /restartsrv
    - /register

    Have you checked the FAQ page?

  • _ForgeUser7637178 added the tags New Defect Oct 2, 2011
  • _ForgeUser7076494 posted a comment Oct 3, 2011

    What do you mean by 'not work'?

  • _ForgeUser7647817 posted a comment Oct 3, 2011

    I am having the same problem. Worked great, until I restarted the server. Now, it will not log anything.

    I am using Multiverse with 10 worlds, and a few other plugins (AutoSave, MagicCarpet, MapMarkers, Multiverse-Core, Multiverse-NetherPortals, Multiverse-Portals, Multiverse-SignPortals, PermissionsEx, PlgSetspawn, PlgWarp, Spawnlist, Spout, worldEdit, WorldGuard, AdminCmd, Hawkeye, VanishNoPacket).

    Thats all the plugins I have installed/working. Everything is playing nice except that Hawkeye is not recording events to the database. The last thing it shows is the /stop command I used in game to stop the server, but no block places, chat logs, anything like that.

    I am not an expert at MySQL, but I am looking at the list of connections right now, and mche is appearing twice, both connected to the same DB, both with a Sleep command, but one is for 857 and the other is for 5352. Those numbers keep going up by 1 each second.

    My config file is the same as the one above.

    UPDATE:

    I killed the two hawkeye connections to the database and restarted the server again, and now its working.

    Maybe connections are not being killed/closed on program exit?

    UPDATE

    Its stopped working again. I didn't do anything, it just stopped after about 5 minutes. Again, there are two connections to the DB, both are sleep with numbers that keep going up by 1 every second.

    This time however, I noticed a few errors on the console and in the log:

    [SEVERE] Exception in thread "Timer-0" [SEVERE] java.lang.NullPointerException [SEVERE] at uk.co.oliwali.HawkEye.database.DataManager.run)DataManager.java:344) [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source) [SEVERE] at java.util.TimerThread.run(Unknown Source)

    Hope this helps.


    Edited Oct 3, 2011
  • _ForgeUser7647817 posted a comment Oct 3, 2011

    Update on below:

    I killed the two hawkeye connections to the database and restarted the server again, and now its working.

    Maybe connections are not being killed/closed on program exit?


    Edited Oct 3, 2011
  • _ForgeUser7647817 posted a comment Oct 3, 2011

    Sorry for multiple posts, but I has more infos:

    Its stopped working again. I didn't do anything, it just stopped. Again, there are two connections to the DB, both are sleep with numbers that keep going up by 1 every second.

    Please fix! Thanks.


    Edited Oct 3, 2011
  • _ForgeUser7637178 posted a comment Oct 13, 2011

    By Don't work I mean, it just doesn't log the worlds. At all. Other then the default world, anyway.


    Edited Oct 13, 2011

To post a comment, please login or register a new account.