-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipe and redirect hangs #210
Comments
Hi, when you use no log diver, or any other log driver than json-file or journald, you probably don't need to set Please try: docker run -i --rm --log-driver none mysql:5.7.27 sh -c ”mysqldump ...” > dump.sql 2> dump_err.log I assume Logagent will not collect the output, and will not make a |
Hi
We will git it a try and get back to you.
Regards
Mads
…________________________________
Fra: Megastef <[email protected]>
Sendt: fredag 6. mars 2020 01:56
Til: sematext/logagent-js <[email protected]>
Kopi: Mads bredholt <[email protected]>; Author <[email protected]>
Emne: Re: [sematext/logagent-js] pipe and redirect hangs (#210)
Hi, when you use no log diver, or any other log driver than json-file or journald, you probably don't need to set LOGSENE_ENABLED=false.
Please try:
docker run -i --rm --log-driver none mysql:5.7.27 sh -c ”mysqldump ...” > dump.sql 2> dump_err.log
I assume Logagent will not collect the output, and will not make a detach API call for the container.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#210?email_source=notifications&email_token=AB47WFDGNVDKLCVRGJITL5TRGBC4FA5CNFSM4LCG7BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7PB4I#issuecomment-595521777>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB47WFCA33VL63VAC2WWWQDRGBC4FANCNFSM4LCG7BDQ>.
|
Any luck with this @madsbredholt ? |
Hi
We have'nt had time to look at this yet.
I'll get back to you as soon as we have had a chance to it.
Regards Mads
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Otis Gospodnetić <[email protected]>
Sent: Monday, March 16, 2020 10:13:26 PM
To: sematext/logagent-js <[email protected]>
Cc: Mads bredholt <[email protected]>; Mention <[email protected]>
Subject: Re: [sematext/logagent-js] pipe and redirect hangs (#210)
Any luck with this @madsbredholt<https://github.com/madsbredholt> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#210 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB47WFCWCS5QYJNSZI2Z5ODRH2I7NANCNFSM4LCG7BDQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are unable to pipe and redirect,(stdout, stderr hangs) data out of docker, due to chances done in the sematext logagent.
This became an issue for us after upgrading the logagent from version 2.0.184 to 3.0.18, 3.0.21
The following can be done to recreate the problem locally.
The following is an example that hangs on ouput.
docker run -i --rm -e LOGSENE_ENABLED=false --log-driver none mysql:5.7.27 sh -c ”mysqldump ...” > dump.sql 2> dump_err.log
Our environment details:
AWS CentOs 7 AMI
Docker Engine 19.03.1 and 19.03.5
The text was updated successfully, but these errors were encountered: