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
Copy file name to clipboardExpand all lines: README.md
+5-22Lines changed: 5 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,56 +80,39 @@ You can build the binary locally by executing the following command from the pro
80
80
81
81
This produces an executable & plugin libraries in the root project directory. To start the Arc server, run:
82
82
83
-
./build/arc --env=config/manual.env
83
+
./build/arc --log=stdout --env=config/manual.env
84
84
85
85
Alternatively, you could execute the following commands to start the server without producing an executable, (but still produce the plugin libraries):
86
86
87
87
make plugins
88
-
go run main.go --env=config/manual.env
89
-
88
+
go run main.go --log=stdout --env=config/manual.env
90
89
91
90
**Note**: Running the executable assumes an active Elasticsearch connection whose url is to be provided in the `.env` file. manual.env configures it to be the localhost.
92
91
93
-
### Logging
94
-
Define the run time flag (`log`) to change the default log mode, the possible options are:
95
-
96
-
#### debug
97
-
Most verbose, use this to get logs for elasticsearch interactions.
98
-
#### info
99
-
Prints the basic information
100
-
#### error (default)
101
-
Only log the errors
102
-
103
92
#### TLS Support
104
93
105
94
You can optionally start arc to serve https requests instead of http requests using the flag https.
106
95
You also need to provide the server key & certificate file location through the environment file.
107
96
manual.env is configured to use demo server key & certificates, which work for localhost.
108
-
```bash
109
97
go run main.go --log=stdout --env=config/manual.env --https
110
-
```
98
+
111
99
If you wish to manually test TLS support at localhost,
112
100
curl needs to be also passed an extra parameter providing the cacert, in this case.
0 commit comments