Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Output history to log file #78

Closed
tb2007 opened this issue Aug 16, 2015 · 3 comments
Closed

[REQUEST] Output history to log file #78

tb2007 opened this issue Aug 16, 2015 · 3 comments

Comments

@tb2007
Copy link

tb2007 commented Aug 16, 2015

Request to output history page to log file automatically, much like how PlexWatch has the "plexwatch.log" file.

I use the Splunk Universal Forwarder agent to monitor and forward the log file to my Splunk server for central logging.

Thanks and great app by the way!!

@tb2007 tb2007 changed the title [REQUEST] Output a history to text log [REQUEST] Output history to log file Aug 16, 2015
@drzoidberg33
Copy link
Contributor

Should it just be output with the exact same rows as the table?

Should it be in CSV or tab separated or some other format?

@tb2007
Copy link
Author

tb2007 commented Aug 17, 2015

I'm using Linux (Ubuntu), so I'd envision something as to a simple text file output to the already present /log directory that houses the plexpy.log. The information that's on the history page would just be concatenated when a new entry is added.

Called something like 'history.log' and just look like:
"2015-08-16 User Device IP Better Call Saul - Mijo 19:55 0 mins 20:00 5 mins"
"2015-08-15 User Device IP Top Gear - Typhoon Jet Fighter 18:20 2 mins 19:22 60 mins"

@drzoidberg33
Copy link
Contributor

Ah okay, so you want it to be updated when new history is added. That is actually quite simple, just will take time to implement.

I'll look into this when I get a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants