~bayindirh/nudge

73aed78c09e20216471f51d05d80c1d33511bb63 — Hakan Bayindir 4 months ago c46f7d9
refactor: Start removing logfile support.

refactor: Remove a couple of information lines from printState function. Because logging file support is going away.
2 files changed, 4 insertions(+), 5 deletions(-)

M CHANGELOG.md
M src/nudge.go
M CHANGELOG.md => CHANGELOG.md +4 -1
@@ 2,13 2,16 @@

**Note:** Please add newest entries on top. Use ISO date format YYYY-MM-DD and markdown formatting.

## 2023-10-16

- refactor: Remove a couple of information lines from `printState` function. Because logging file support is going away.

## 2023-10-15

- proj: Bump version to `0.3.0a1` to mark development start.
- feat: Add a small `debug` log line in `printState` function to show how many log targets are defined.
- refactor: Pass through `gofmt`.


## 2023-07-31

- proj: Version is changed to 0.2.0

M src/nudge.go => src/nudge.go +0 -4
@@ 338,8 338,6 @@ func printState(runtimeConfiguration *RuntimeConfiguration, notification *Notifi
	logger.Infof("Configuration file path: %s", runtimeConfiguration.configFilePath)
	logger.Infof("Pushover API key: %s", runtimeConfiguration.apiKey)
	logger.Infof("Pushover user key: %s", runtimeConfiguration.userKey)
	logger.Infof("Log file path(s): %s", runtimeConfiguration.logfilePaths)
	logger.Debugf("Total logging path count: %d", len(runtimeConfiguration.logfilePaths))
	logger.Infof("Current logging level is %s.", runtimeConfiguration.logLevel)
	logger.Infof("") // Leave an empty line.



@@ 480,8 478,6 @@ func main() {

	// This is the demarcation line between config reading and starting doing things.

	// TODO: Reconfigure Zap with new logging paths at this point.

	// Let's try to change the logging level of our current logger.
	newLogLevelJSON := []byte(runtimeConfiguration.logLevel)