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
Describe the Feature
Tern currently creates a tern.log file in the directory wherever the Tern command is run that captures the terminal output during a run. Add a CLI flag that could change the location of where the log file ends up.
Use Cases
When running Tern with minikube, it would be to direct the log file to the mount directory instead of leaving it in the container.
Implementation Changes
Add a CLI flag that enables the user to specify a location. If no location is provided, leave the log file in its current directory.
The text was updated successfully, but these errors were encountered:
Some situations require the log files to be written to a different
location than the current working directory. This commit introduces
the option `-l/--log-file` to provide a different file path. To
use this option, run:
tern -l path/to/log/file
In order to enable this functionality, some global logging
variables were moved to the do_main function.
Fixestern-tools#1113
Signed-off-by: Nisha K <nishak@vmware.com>
Some situations require the log files to be written to a different
location than the current working directory. This commit introduces
the option `-l/--log-file` to provide a different file path. To
use this option, run:
tern -l path/to/log/file
In order to enable this functionality, some global logging
variables were moved to the do_main function.
Fixestern-tools#1113
Signed-off-by: Nisha K <nishak@vmware.com>
Some situations require the log files to be written to a different
location than the current working directory. This commit introduces
the option `-l/--log-file` to provide a different file path. To
use this option, run:
tern -l path/to/log/file
In order to enable this functionality, some global logging
variables were moved to the do_main function.
Fixes#1113
Signed-off-by: Nisha K <nishak@vmware.com>
Describe the Feature
Tern currently creates a
tern.log
file in the directory wherever the Tern command is run that captures the terminal output during a run. Add a CLI flag that could change the location of where the log file ends up.Use Cases
When running Tern with minikube, it would be to direct the log file to the mount directory instead of leaving it in the container.
Implementation Changes
Add a CLI flag that enables the user to specify a location. If no location is provided, leave the log file in its current directory.
The text was updated successfully, but these errors were encountered: