- Edited
i search for an option of deleted tickets on my osticket(1.9.4) but i don't found this option... did really exists?
i search for an option of deleted tickets on my osticket(1.9.4) but i don't found this option... did really exists?
Deleted tickets are deleted.Gone. Kaput. Dead. Erased. Cancelled. Wiped out.Resting in the great ticket system in the sky.They are ex-Tickets. The only way to restore a deleted ticket is to restore the database from a backup that has said ticket.
no, i don't want restore... i want to log who done this marvelous delete...(if you dare delete an ticket, pray for your soul...)(sorry about my poor english, i'm practice now again)Victor
If you go to Admin panel -> Settings -> System -> and set Default Log Level: to DEBUG. the log will hence forth log ticket deletes in Dashboard -> System Logs. But it will not retroactively tell you who deleted something that is already gone.note: it logs a bunch of stuff if you change it to debug though... so make sure that you change Purge Logs to something sane.
ntozier Do you know where the Admin Panel logs are located in the Linux filesystem? I'd like to get them to log to a syslog server.
They are not located in the filesystem. They are in the DB in table ost_syslog.
@ntozier is correct. We do not log to systemd logs or anything on the OS side (would be cool though ?). Instead we log the errors/debug info to the ost_syslog
table. We include the IP, dates, etc. for easier debugging. You can run a script to pull the latest entries from the table and push them to any logging system of your choosing (as long as you write the script properly and format the data from sql properly). It should be a relatively small and easy bash script (or whatever language you prefer).
Cheers.
Thanks guys, I figured as much. But that info should be easy enough to pull. Much appreciated, thanks!
Very welcome.
I'm going to close this thread since it's so old and seems to have reached a conclusion.