summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-11 18:06:52 +0100
committerxengineering <me@xengineering.eu>2023-02-11 18:06:52 +0100
commit4c36742ec8072e645f0b755cdf5e9582ac2a6887 (patch)
tree7f76889dc1744e8829f957dbe24f6455ab86fa75 /main.go
parent06a09ecebb3e7631044963e374671edf15d61213 (diff)
downloadceres-4c36742ec8072e645f0b755cdf5e9582ac2a6887.tar
ceres-4c36742ec8072e645f0b755cdf5e9582ac2a6887.tar.zst
ceres-4c36742ec8072e645f0b755cdf5e9582ac2a6887.zip
Rework logging
Logging during a request is at the moment not really needed. Printing the config to the log was a stupid idea too.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3afdf49..405ff0a 100644
--- a/main.go
+++ b/main.go
@@ -10,8 +10,8 @@ var config RuntimeConfig
var db *sql.DB
func main() {
+ log.Printf("Started Ceres recipe server.\n")
config = GetRuntimeConfig()
- log.Printf("Starting ceres with config file '%s'\n", config.Path)
db = setupDatabase()
runServer()
}