Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log app events to file #298

Closed
4 tasks
olemis opened this issue Dec 24, 2019 · 0 comments · Fixed by #317
Closed
4 tasks

Log app events to file #298

olemis opened this issue Dec 24, 2019 · 0 comments · Fixed by #317
Assignees
Labels
config App configuration stdev wip Work in progress
Milestone

Comments

@olemis
Copy link
Contributor

olemis commented Dec 24, 2019

Is your feature request related to a problem? Please describe.
App events are logged to stdout , which opens a separate console window when running app from OS shell.

Describe the solution you'd like
Basically command line window should not be open

  • Add methods to configure logger ouput desination (see logrus docs)
  • Choose stdout by default
  • Wallet app GUI code should set log output to be sent to file
  • Add log file path in QSettings

Describe alternatives you've considered
Hard-coded log file path may lead to conflicts on different platforms . App settings directory could have been chosen as well .

@olemis olemis added the config App configuration label Dec 24, 2019
@olemis olemis added this to To do in FiberCrypto wallet - Iteration 1 via automation Dec 24, 2019
@olemis olemis added this to the 0.27.0 milestone Dec 24, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 4, 2020
…stination and a Combo box to select log level
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 4, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 4, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 5, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 5, 2020
I would like a ComboBox with fixed options, but I couldn't do it right
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 18, 2020
This allows to changes logger properties and propagate this changes across all modules's logger
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 18, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 18, 2020
This allows to changes logger properties and propagate this changes across all modules's logger
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 18, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 18, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 19, 2020
Changes:
- Add SetOutput function to set the desired logger's output given a option
- Return error in SetOutputToFile function
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 19, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 19, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 19, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
Remove SetOutput function and add GetOutputWriter function to return the io.Writer that needs to be given to SetOutputTo function
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
…ject's logger

This occurs when the app's logger change its output
@AntiD2ta AntiD2ta added stdev wip Work in progress labels Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 21, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 22, 2020
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Jan 23, 2020
FiberCrypto wallet - Iteration 1 automation moved this from To do to Done Jan 25, 2020
olemis added a commit that referenced this issue Jan 25, 2020
…file

Fixes #298 - Configuration of app's logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config App configuration stdev wip Work in progress
Development

Successfully merging a pull request may close this issue.

2 participants