Skip to content

Commit 050e4c8

Browse files
committed
Defaulting to INFO log level
Fixes #2
1 parent 8917c42 commit 050e4c8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- Defaulting to INFO log leve unless `DEBUG` ENV is present
13+
14+
## [1.1] - 2025-12-01
15+
16+
### Changed
17+
18+
- Using offspot-config release
19+
820
## [1.0] - 2025-11-29
921

1022
### Added

src/adminui/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
)
2727
HOSTAPD_CONF_PATH = Path(os.getenv("HOSTAPD_CONF_PATH") or "/etc/hostapd/hostapd.conf")
2828

29-
logging.basicConfig(level=logging.DEBUG)
29+
logging.basicConfig(level=logging.DEBUG if bool(os.getenv("DEBUG")) else logging.INFO)
3030
logger = logging.getLogger("adminui")

0 commit comments

Comments
 (0)