about summary refs log tree commit diff stats
path: root/src/main.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-05-26 19:59:39 -0400
committerBen Morrison <ben@gbmor.dev>2020-05-26 23:52:48 -0400
commit53f2d63e53dccbfae435e01305327f2fcf84a0d4 (patch)
tree84b6b9db8faf7a1c0324304988455ace5fcf1cc8 /src/main.rs
parentc5ea65393d9b8000d68cf8c2f887f22bdae81222 (diff)
downloadclinte-53f2d63e53dccbfae435e01305327f2fcf84a0d4.tar.gz
using in-memory db for tests, passing path to logging::init() instead of assuming
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index faef1b3..474c117 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -23,7 +23,8 @@ fn main() -> error::Result<()> {
         .get_matches();
 
     let start = time::Instant::now();
-    logging::init()?;
+    let file = format!("/tmp/clinte_{}.log", *user::NAME);
+    logging::init(&file)?;
     log::info!("clinte starting up!");
     println!("clinte v{}", clap::crate_version!());
     println!("a community notices system");
ules' href='/andinus/octans/commit/lib/Puzzle.rakumod?h=v0.2.0&id=5bb0f224483fbc1d57fd1c5a2f4a22dd7263ecd6'>5bb0f22 ^
02cd965 ^

5bb0f22 ^
02cd965 ^




5bb0f22 ^


02cd965 ^











5bb0f22 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72