You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
I have ran below code block with updated data formatting. When executing the code block, the data formatting have been updated in console, but the logfile which have been written still show the default formatting. I tried to get it done with another code block (code block-2). It shows updated date formatting in console as well as logfile. But in logfile it prints extra character for color which I dont want.
The formatter that have been supplied sets the formatter only for console and if it sets the same for logfile, it prints extra color character which is unwanted.
Basically when we supply formatter, the formatter only gets applied to console not the logfile (if logfile have been provided). That makes the output inconsistent.
Ref. of Issue:
metachris#285
Description
I have ran below code block with updated data formatting. When executing the code block, the data formatting have been updated in console, but the logfile which have been written still show the default formatting. I tried to get it done with another code block (code block-2). It shows updated date formatting in console as well as logfile. But in logfile it prints extra character for color which I dont want.
What I Did
Code Block - 1
Console Output
[25-03-2020 22:36:56 tp:19] Hello 1
[25-03-2020 22:36:56 tp:20] Hello 2
[25-03-2020 22:36:56 tp:21] Hello 3
[25-03-2020 22:36:56 tp:22] Hello 4
Logfile Output
[I 200325 22:36:56 tp:19] Hello 1
[I 200325 22:36:56 tp:20] Hello 2
[I 200325 22:36:56 tp:21] Hello 3
[I 200325 22:36:56 tp:22] Hello 4
Code Block - 2
Console Output
[25-03-2020 22:39:29 tp:17] Hello 1
[25-03-2020 22:39:29 tp:18] Hello 2
[25-03-2020 22:39:29 tp:19] Hello 3
[25-03-2020 22:39:29 tp:20] Hello 4
Logfile Output
�[32m[25-03-2020 22:39:29 tp:17]�[39m Hello 1
�[32m[25-03-2020 22:39:29 tp:18]�[39m Hello 2
�[32m[25-03-2020 22:39:29 tp:19]�[39m Hello 3
�[32m[25-03-2020 22:39:29 tp:20]�[39m Hello 4
The text was updated successfully, but these errors were encountered: