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

bug: global custom logger shows error twice #35

Closed
roeniss opened this issue May 7, 2023 · 1 comment
Closed

bug: global custom logger shows error twice #35

roeniss opened this issue May 7, 2023 · 1 comment

Comments

@roeniss
Copy link
Owner

roeniss commented May 7, 2023

커스텀 로거가 제대로 설정이 안된 것 같다.

https://stackoverflow.com/a/7621965/8556340 의 조언을 따르는게 나을 것 같다.

현재 상태:

.venv ❯❯❯ PYTHONPATH=./src/  python3 src/dhapi/main.py buy_lotto645 -q     
[Lotto645 Buy Request]
Game A: ['x', 'x', 'x', 'x', 'x', 'x']
Game B: ['x', 'x', 'x', 'x', 'x', 'x']
Game C: ['x', 'x', 'x', 'x', 'x', 'x']
Game D: ['x', 'x', 'x', 'x', 'x', 'x']
Game E: ['x', 'x', 'x', 'x', 'x', 'x']
----------------------
❓ 위와 같이 구매하시겠습니까? [Y/n] yes
✅ --quiet 플래그가 주어져 자동으로 구매를 진행합니다.
2023-05-07 15:37:25 [error    ] 🚨 에러가 발생했습니다: 구매에 실패했습니다: 현재 시간은 판매시간이 아닙니다.
🚨 에러가 발생했습니다: 구매에 실패했습니다: 현재 시간은 판매시간이 아닙니다.
@roeniss roeniss changed the title add: global custom logger bug: global custom logger shows error twice May 10, 2023
@roeniss
Copy link
Owner Author

roeniss commented Feb 9, 2024

not serious issue (won't fix now)

@roeniss roeniss closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant