question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Openshift - Configure logging to not write in a file

See original GitHub issue

Because it requires specific permission in the CWD. Ideally, this can be passed in the command line:

./app -Dlogfile=none

or something like that.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
vorburgercommented, Mar 20, 2019

@geoand yup, and I have proposed that in #1599 if that’s the conclusion of this issue’s discussion…

… but I personally actually do also think that this is the wrong approach - the default of true of quarkus.log.file.enable seems wrong, to me, for a “Kubernetes Native Java stack” framework… IMHO default should be console, only; and log file should be opt-in (12 Factor).

-Dshamrock.log.file.enable=false

BTW: It’s quarkus.log.file.enable and not shamrock.log.file.enable, right?? That’s what doc’d.

1reaction
cescoffiercommented, Dec 20, 2018

I agree, we may change the default, and allow writing to file when the user wants it.

On Thu 20 Dec 2018 at 10:01, Georgios Andrianakis notifications@github.com wrote:

Since Protean is meant to be container first, wouldn’t it make sense to not write to a file by default?

I mean one of the factors of the 12 factor app design is to log to stdout only.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbossas/protean-shamrock/issues/355#issuecomment-448923669, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYjff2MZNRrKSX0lXoENWrKJznMBwetks5u61HwgaJpZM4ZbsIP .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring the log store | OpenShift Container Platform 4.8
Create or edit a YAML file that defines the ClusterLogForwarder CR object: ... If you do not specify a log type, those logs...
Read more >
Chapter 4. Configuring your Logging deployment
Inspect the ClusterLogForwarder CR YAML file that you used to configure log forwarding. Verify that it does not have an outputRefs element that...
Read more >
Chapter 3. Configuring your cluster logging deployment
Inspect the ClusterLogForwarder CR YAML file that you used to configure log forwarding. Verify that it does not have an outputRefs element that...
Read more >
Chapter 12. Troubleshooting Logging OpenShift Container ...
Elasticsearch is experiencing an increase in write rejections on the specified node. This node might not be keeping up with the indexing speed....
Read more >
Chapter 7. Configuring your cluster logging deployment
OpenShift Container Platform cluster logging is designed to be used with the default configuration, which is tuned for small to medium sized OpenShift...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found