ptcrealitylab / vuforia-spatial-edge-server

Edge Server for the Vuforia Spatial Toolbox, a shared research platform for exploring spatial computing as a community
https://spatialtoolbox.vuforia.com
Mozilla Public License 2.0
20 stars 12 forks source link

configure winston to ignore spammy decompress-zip warnings #971

Closed benptc closed 10 months ago

benptc commented 10 months ago

Not sure if there's a better approach for this, but currently I'm getting hundreds of warning lines from the decompress-zip library every time I use it to decompress the target.dat (which I do on server restart to ensure the file didn't change while the server was off), like:

2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19 
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19 
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19 
...
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19

This seems to work for suppressing those messages.