Skip to content

Pixel placement log / pixels.log

Grant requested to merge feat-pixel-placement-log into main

Fixes #57 (closed)

Events:

  • pixel place
  • pixel undo
  • mod override
  • mod fill
  • mod rollback (not implemented)
  • mod rollback undo (not implemented)
  • canvas size
  • canvas freeze (See #76 (closed))
  • canvas unfreeze (See #76 (closed))

Line:

  • {timestamp} {user.sub} pixel_place {x} {y} {hex}
  • {timestamp} {user.sub} pixel_undo {x} {y} {hex} -- hex being what the pixel is now
  • {timestamp} {user.sub} mod_override {x} {y} {hex}
  • {timestamp} {user.sub} mod_fill {x1},{y1} {x2},{y2} {hex}
  • {timestamp} {user.sub} mod_rollback {x} {y} {hex} -- hex being what the pixel is now
  • {timestamp} {user.sub} mod_rollback_undo {x} {y} {hex} -- hex being what the pixel is now
  • {timestamp} system canvas_size {width} {height}
  • {timestamp} system canvas_freeze
  • {timestamp} system canvas_unfreeze

Log file is written to packages/server/pixels.log unless if PIXEL_LOG_PATH is set, then it will use that as the path

This file is intended as public data, and to not be used as a complete audit log

Edited by Grant

Merge request reports

Loading