erikng / Cacher

A python script for extracting macOS Caching Server data
Apache License 2.0
134 stars 40 forks source link

Support for High Sierra Caching Service #50

Open darkmind-io opened 7 years ago

darkmind-io commented 7 years ago

Configured to support High Sierra and Unified Logging. Removed Server.app references.

MarcProe commented 6 years ago

Merged this on my branch, works. Thanks!

erikng commented 6 years ago

@darkmind-io can you please look at https://github.com/erikng/Cacher/issues/47

bedris commented 6 years ago

I am getting the following error and not sure where it's coming from. Traceback (most recent call last): File "/users/name/cacher.py", line 843, in main() File "/users/name/cacher.py", line 831, in main cacherdata = cacher(rawLog.readlines(), targetDate, friendlyNames) File "/users/namecacher.py", line 291, in cacher totalbytesserved.append(bytes_served) UnboundLocalError: local variable 'bytes_served' referenced before assignment

patgmac commented 5 years ago

This PR has been working well for me. Any plans to merge?

erikng commented 5 years ago

It has conflicts so I can't. If the author wants to update this or of if someone wants to send a PR for the fixes, I can merge it.

I don't have caching servers at my company or time to test and work on this, so help is appreciated.

macshome commented 5 years ago

Do you want help testing and merging this?

erikng commented 5 years ago

Absolutely @macshome - surprised you're interested in this project but I will Absolutely take your help!

macshome commented 5 years ago

Cool. I’ll look to find some time to take a look.