File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1
1
# firetail-java-lib
2
+
3
+ ## Building the library
4
+
5
+ 1 . In the projects root folder, run ` ./gradlew build -x test `
6
+ 2 . Run ` ./gradlew publishToMavenLocal `
7
+
8
+ ### Springboot configuration
9
+ 1 . In ` build.gradle.kts ` (if you are using kotlin configuration), add within ` dependencies {} ` , the firetail library:
10
+
11
+ ```
12
+ dependencies {
13
+ implementation("com.github.firetail-io:firetail-java-lib:$version")
14
+ }
15
+ ```
16
+ 2 . Also in ` build.gradle.kts ` add below the ` plugins {} ` :
17
+
18
+ ```
19
+ group = "com.github.firetail-io"
20
+ version = "0.0.1-SNAPSHOT"
21
+ ```
22
+
23
+ 3 . In your springboot project, add ` application.yml ` in ` build/resources `
24
+
25
+ ``` yaml
26
+ firetail :
27
+ apikey : " PS-02....441b09761c3"
28
+ url : " https://your-apiapi.logging.eu-north-west-99.sandbox.firetail.app"
29
+ # # Cache control before dispatching logs to API
30
+ buffer :
31
+ # Millis
32
+ interval : 100000
33
+ # Max capacity
34
+ capacity : 5
35
+ ` ` `
You can’t perform that action at this time.
0 commit comments