Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767848
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/README.md b/README.md
index 1e69df6..247c68d 100644
--- a/README.md
+++ b/README.md
@@ -1,53 +1,53 @@
# Servers log microservice
Collects servers log entries and publish them as JSON
## Status
This is a work in progress, currently developed.
It's currently only suitable for the initial development.
## Run the service
The service can be configured
through the following environment variables:
* BIND — the address the HTTP server should listen to,
as a `ìp:port` expression (default: 0.0.0.0:3000)
* RUST_LOG — the level of logging,
- `ìnfo` is recommended to get events stream (no default)
- * STORE — the path to the SQLite database file
+ `ìnfo` is recommended to get events stream (no default)
+ * STORE — the path to the SQLite database file
to store log (default: ./log.db)
## Build instructions
### Dependencies
To compile the service, you need:
* Rust (we use the nightly distribution channel)
* Cargo
* SQLite 3 (we link against it, so the .so is required)
-
+
### Compile
Use `cargo build` to compile and link the debug version.
For the release, use `cargo build --release`.
-### Bypass Cargo
+### Bypass Cargo
If you bypass Cargo to compile, define the following
environment variables:
* CARGO_PKG_NAME
* CARGO_PKG_VERSION
-
+
### Tests
To run the tests, use `cargo test`.
Note this is an executable, not a library.
As such, if you want to add a test, you can't use a tests/ folder:
the independent test crate won't be able to import the crate.
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 03:50 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259479
Default Alt Text
(1 KB)
Attached To
Mode
rSERVERSLOG Servers log microservice
Attached
Detach File
Event Timeline
Log In to Comment