Redirecting log files to null writing junk into log files
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have log files which are created from below command:
exec >$logfile
But when it reaches some size, I am redirecting to null while process is running, like so:
>$logfilemanually
But after that it writes some junk into log file for first few lines.
How to avoid that?
io-redirection
add a comment |Â
up vote
0
down vote
favorite
I have log files which are created from below command:
exec >$logfile
But when it reaches some size, I am redirecting to null while process is running, like so:
>$logfilemanually
But after that it writes some junk into log file for first few lines.
How to avoid that?
io-redirection
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have log files which are created from below command:
exec >$logfile
But when it reaches some size, I am redirecting to null while process is running, like so:
>$logfilemanually
But after that it writes some junk into log file for first few lines.
How to avoid that?
io-redirection
I have log files which are created from below command:
exec >$logfile
But when it reaches some size, I am redirecting to null while process is running, like so:
>$logfilemanually
But after that it writes some junk into log file for first few lines.
How to avoid that?
io-redirection
edited Nov 28 '17 at 10:21
JdeBP
28.8k459135
28.8k459135
asked Nov 28 '17 at 9:28
Daev
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407446%2fredirecting-log-files-to-null-writing-junk-into-log-files%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password