Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

[#345] logging configuration for logging to file #350

Merged
merged 10 commits into from
Nov 13, 2019
Merged

Conversation

CodiePP
Copy link
Contributor

@CodiePP CodiePP commented Nov 12, 2019

the logging configuration to log to a file

needs: access to the configuration argument: launcherLogsPrefix

@CodiePP CodiePP added the wip Work In Progress label Nov 12, 2019
@CodiePP CodiePP requested a review from ksaric November 12, 2019 10:23
@CodiePP CodiePP requested a review from erikd as a code owner November 12, 2019 10:23
@CodiePP CodiePP requested a review from HirotoShioi November 12, 2019 10:23
Copy link
Contributor

@ksaric ksaric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the "Logs/launcher" and the scName/FileSK::, but if that is the intention...
The example config can be found here - https://github.com/input-output-hk/cardano-shell/blob/master/cardano-launcher/configuration/launcher/jormungandr/launcher-config-qa.linux.yaml#L6

@CodiePP CodiePP removed the wip Work In Progress label Nov 12, 2019
@CodiePP CodiePP requested a review from cleverca22 November 12, 2019 17:00
Signed-off-by: Alexander Diemand <[email protected]>
@CodiePP CodiePP requested a review from ksaric November 13, 2019 08:24
Copy link
Contributor

@ksaric ksaric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, beside the error when I run it:

$> stack exec cardano-launcher -- --config ./cardano-launcher/configuration/launcher/jormungandr/launcher-config-qa.linux.yaml --wallet-exit-codes "[CLIExitCodeFailure 21, CLIExitCodeFailure 22, CLIExitCodeFailure 20, CLIExitCodeSuccess]" --updater-exit-codes "[CLIExitCodeFailure 1, CLIExitCodeSuccess]"

LauncherCLI {launcherConfigPath = LauncherOptionPath {getLauncherOptionPath = "./cardano-launcher/configuration/launcher/jormungandr/launcher-config-qa.linux.yaml"}, walletExitCodes = Just [CLIExitCodeFailure 21,CLIExitCodeFailure 22,CLIExitCodeFailure 20,CLIExitCodeSuccess], updaterExitCodes = Just [CLIExitCodeFailure 1,CLIExitCodeSuccess]}
cannot remove symlink: /home/ksaric/.local/share/Daedalus/qa/Logs/launcher
exception: /home/ksaric/.local/share/Daedalus/qa/Logs/launcher: removeLink: does not exist (No such file or directory)

The:

cannot remove symlink: /home/ksaric/.local/share/Daedalus/qa/Logs/launcher
exception: /home/ksaric/.local/share/Daedalus/qa/Logs/launcher: removeLink: does not exist (No such file or directory)

@CodiePP
Copy link
Contributor Author

CodiePP commented Nov 13, 2019

opened issue: input-output-hk/iohk-monitoring-framework#452
to address these messages.

@CodiePP CodiePP merged commit 975e880 into master Nov 13, 2019
@ksaric ksaric deleted the 345-logs-in-file branch November 13, 2019 13:21
disassembler added a commit that referenced this pull request Mar 28, 2020
ksaric added a commit that referenced this pull request Apr 1, 2020
* tlsConfig passed via launcherConfig

* Revert "[#345] logging configuration for logging to file (#350)"

This reverts commit 975e880.

* Temporarily disable the certificate tests.

Co-authored-by: ksaric <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants