File Logging #652
Replies: 2 comments 3 replies
-
Hi @alexrohozneanu! We don't have native support for logging to a file in OPA. Generally in Cloud Native environments logging to a file is discouraged, testing my knowledge here a bit but I think the ideas grew out of things like the 12 factor app: https://12factor.net/logs. Is there a reason you need to have a log file stored on OPA's host? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response, @charlieegan3! In my case I run OPA on a windows machine, and I don't want to use Docker for that due to performance issues, I run it as a standalone process. I would like to have log files on the OPA's host for testing purposes, I want to aggregate once in a while the decisions that were made, based on the policies that I defined, to see if they need improvements or not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does OPA support logging in files on disk alongside file rotation and retention?
Beta Was this translation helpful? Give feedback.
All reactions