Comments (2)
Hi @zirus001
Thanks for the suggestion, glad this tool is working out for you! However, this suggestion is a bit out of scope for this utility. Our intent is to keep it extremely lightweight, and our recommendation when using the tool in production would be to use an external tool to manage it, and it's logs. Some tools could manage it as a service, and that tooling should be able to capture our log entries from STDOUT, rather than our optional file.
I think some users have used WinSW for this: https://github.com/winsw/winsw
https://github.com/winsw/winsw/blob/v3/docs/logging-and-error-reporting.md
I think other users have had luck with PM2: https://github.com/Unitech/pm2
There are lots of ways to rotate logs, and lots of tools specifically focused on it that could cater to your specific needs. I haven't used graylog, but that might be the best solution for you!
Thanks again for the suggestion!
from stigman-watcher.
Hey @cd-rite,
Yeah between evalute-stig, Stig-manager, and Stig watcher it's better than any other automated scap process out there.
That's fine. I think my intent was to just keep the log from filling up the hard drive in the long term. When we pickup the logs with graylog there is no need to keep them on the OS. I'll just make a process for shutdown that will delete the file and upon reboot it will re-create it. Thanks!
from stigman-watcher.
Related Issues (20)
- Token acquisition failure - develop approach and handling
- Token is unsuited for purpose - develop approach and handling
- Determine when API is not responding - develop approach and handling
- Pause file processing when API is not responding
- Add code.mil required documentation HOT 1
- After Collection rename, management icon fails to appear for managers/owners in browser until after refresh
- Use EcmaScript style imports rather than CommonJS "require" statements
- Create workflow to build and sign watcher artifacts
- Use stig-manager-client-modules from npm; remove unneeded dependencies HOT 1
- Add the ability to specify extra scopes and a scope prefix to requested scopes
- 1.4.2 Failing to Start (Windows .exe) HOT 1
- DeprecationWarning in node HOT 1
- Scans should not run concurrently, and should only run when no files are currently being processed. HOT 4
- APIOffline alarm should not be raised on 400 errors HOT 2
- Update stig-manager-client-modules to next version (1.4.2)
- Make REQUEST_TIMEOUT user configurable HOT 3
- Modify alarm handling
- Add missing envvars to wiki HOT 1
- refactor: resultsHandler should fetch in scope Assets only HOT 1
- Add min/max bounds for user-specified numerical config options
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stigman-watcher.