mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2025-06-26 10:54:29 +02:00
Fix logging levels (#29)
This commit is contained in:
parent
bfcb0e675e
commit
c3ccf1ee2b
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
let config = ServerConfig::from_args(snapshot_days, snapshot_versions)?;
|
let config = ServerConfig::from_args(snapshot_days, snapshot_versions)?;
|
||||||
let server = Server::new(config, Box::new(SqliteStorage::new(data_dir)?));
|
let server = Server::new(config, Box::new(SqliteStorage::new(data_dir)?));
|
||||||
|
|
||||||
log::warn!("Serving on port {}", port);
|
log::info!("Serving on port {}", port);
|
||||||
HttpServer::new(move || {
|
HttpServer::new(move || {
|
||||||
App::new()
|
App::new()
|
||||||
.wrap(Logger::default())
|
.wrap(Logger::default())
|
||||||
|
|
|
@ -267,7 +267,7 @@ pub(crate) fn add_snapshot<'a>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log::warn!("accepting snapshot for version {}", version_id);
|
log::debug!("accepting snapshot for version {}", version_id);
|
||||||
txn.set_snapshot(
|
txn.set_snapshot(
|
||||||
client_id,
|
client_id,
|
||||||
Snapshot {
|
Snapshot {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue