ljunkie / plexWatch

Notify and Log watched content on a Plex Media Server
430 stars 59 forks source link

Plex Media Server.log when plexWatch is on a different server than PMS #117

Closed rayk32 closed 8 years ago

rayk32 commented 8 years ago

How do you deal with these statement when plexWatch and PMS are running on different servers?

$server_log = '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log'; ## used to log IP address of user (alpha) $log_client_ip = 1; ## requires $server_log to be available too. (requires File::ReadBackwards)

This is the error message I get:

warning: $server_log is specified in config.pl and opt/plexWatch/Logs/plex.log does not exist (required for logging of the clients IP address)

Everything else about plexWatch works except for this.

Arcanemagus commented 8 years ago

You need to provide some way for the plexWatch computer to access the logs directory if you want that functionality, generally this is handled with a network share of some sort.

rayk32 commented 8 years ago

Thanks for the response. I will follow your suggestion.

I think the correct path on a Mac running PMS is "/Users/admin/Library/Logs/Plex Media Server.log".

rayk32 commented 8 years ago

Thanks for the response. I will follow your suggestion.

I think the correct path on a Mac running PMS is "/Users/admin/Library/Logs/Plex Media Server.log”.

On Feb 2, 2016, at 12:07 AM, Landon Abney notifications@github.com wrote:

You need to provide some way for the plexWatch computer to access the logs directory if you want that functionality, generally this is handled with a network share of some sort.

— Reply to this email directly or view it on GitHub https://github.com/ljunkie/plexWatch/issues/117#issuecomment-178378254.

rayk32 commented 8 years ago

Creating a mount point entry in fstab fixed the issue!