You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many web/mobile applications generate huge amount of event logs (c,f. login, logout, purchase, follow, etc). To analyze these event logs could be really valuable for improving the service. However, the challenge is collecting these logs easily and reliably.
6
8
7
-
8
9
[Fluentd](http://github.com/fluent/fluentd) solves that problem by having: easy installation, small footprint, plugins, reliable buffering, log forwarding, etc.
9
10
10
11
**fluent-logger-scala** is a Scala library, to record the events from Scala application, based on fluent-logger-java.
11
12
Main difference between scala and java version is to support Scala Collection.
12
13
13
14
Please see [QuickStart](https://github.com/fluent/fluent-logger-scala/wiki/QuickStart) to get started!
14
15
15
-
## Installation(for scala 2.10.0 or later)
16
-
17
-
Add sonatype repository and dependencies to build.sbt file as follows:
18
-
19
-
resolvers += "Apache Maven Central Repository" at "http://repo.maven.apache.org/maven2/"
@@ -64,21 +40,18 @@ APIs base on fluent-logger-java.
64
40
FluentLogger#flush()
65
41
FluentLogger#close()
66
42
67
-
## How to Build from source
68
-
69
-
70
-
## Build
71
43
72
-
./sbt update
73
-
./sbt compile
44
+
## For Developers
74
45
75
-
## Test
46
+
```
47
+
$ ./sbt
48
+
> compile
49
+
> test
50
+
# cross Scala version testing
51
+
> + test
52
+
```
76
53
77
-
./sbt test
78
-
79
-
## For developers
80
-
81
-
### Publishing to sonatype repository
54
+
### Publishing to Maven Central
82
55
83
56
Describe your account information in $HOME/.sbt/(sbt-version)/sonatype.sbt file:
84
57
@@ -87,16 +60,9 @@ Describe your account information in $HOME/.sbt/(sbt-version)/sonatype.sbt file:
87
60
"(Sonatype user name)",
88
61
"(Sonatype password)")
89
62
90
-
Then publish a signed artifact to the Sonatype repository:
91
-
92
-
./sbt publishSigned
93
-
94
-
Make sure you are using a release version in build.sbt file. A SNAPSHOT version is deployed to the snapshot repostitory of Sonatype, which is not synched with Maven central.
95
-
96
-
After publishing, you can close, promote and drop the published repositorty with sonatypeRelease command:
97
-
98
-
./sbt sonatypeRelease
63
+
The release command will publish signed artifacts to the Sonatype repository, and perform releasing to Maven Central:
0 commit comments