Professional Documents
Culture Documents
1. Products
1.
2.
Raza Ahmed
3.
4.
5.
6.
7.
How to force a program to write log into standard output In spite of
redirection?
Ask Question
Asked today
Modified today
Viewed 10 times
Background
Today I am trying perconna's innobackupex with this command:
...
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
230202 15:52:24 Connecting to MySQL server host: 127.0.0.1, user: root, password: set, port: 3306, socket: not set
...
Confusion
Shouldn't the redirection > writes the standard output to /root/backup/backup.xbstream? Why I can
still see logs on terminal?
linux
Share
Edit
Follow
Add a comment
Report this ad
Links
Images
Styling/Headers
Lists
Blockquotes
Code
HTML
Tables
Advanced help
Post Your Answer
linux
or ask your own question.
The Overflow Blog
CEO update: Eliminating obstacles to productivity, efficiency, and learning
Announcing more ways to learn and grow your skills
Featured on Meta
Accessibility Update: Colors
2022: a year in moderation
Collectives: The next iteration
Temporary policy: ChatGPT is banned
We’re bringing advertisements for technology courses to Stack Overflow
Related
726
How do I write standard error to a file while using "tee" with a pipe?
782
12
on-the-fly output redirection, seeing the file redirection output while the program is still running
76
How can I have tcpdump write to file and standard output the appropriate data?
11
Question feed
STACK OVERFLOW
Questions
Help
PRODUCTS
Teams
Advertising
Collectives
Talent
COMPANY
About
Press
Work Here
Legal
Privacy Policy
Terms of Service
Contact Us
Cookie Settings
Cookie Policy
STACK EXCHANGE NETWORK
Technology
Culture & recreation
Life & arts
Science
Professional
Business
API
Data
Blog
Facebook
Twitter
LinkedIn
Instagram
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. rev 2023.1.31.43211
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance
with our Cookie Policy.