Skip to content

Commit 4247b96

Browse files
authored
Merge pull request #234 from fnproject/marleung/fix-doc
fix malformed doc
2 parents f9be923 + 7a88f83 commit 4247b96

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Troubleshooting/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ The steps are for Linux/MacOS but the steps on Windows should be similar. The sy
316316
317317
**Note:** We are using rsyslog/rsyslog container here. For detailed documentation, please check here: https://www.rsyslog.com/doc/getting_started/index.html
318318
319-
1. Create a local directory to host the config and log files
319+
First, create a local directory to host the config and log files
320320
321321
![user input](images/userinput.png)
322322
>```
@@ -325,9 +325,9 @@ The steps are for Linux/MacOS but the steps on Windows should be similar. The sy
325325
>mkdir logs
326326
>```
327327
328-
2. Prepare the syslog config file
329-
- Create a file called `my-syslog.conf` under `mysyslog` with the following content
330-
```
328+
Then prepare the syslog config file. Create a file called `my-syslog.conf` under `mysyslog` with the following content
329+
330+
~~~
331331
# Load module
332332
module(load="imtcp")
333333
input(type="imtcp" port="601")
@@ -337,8 +337,9 @@ $WorkDirectory /var/log
337337
338338
# Log all UDP messages to /var/log/syslog/syslog.log
339339
action(type="omfile" file="/var/log/syslog")
340-
```
341-
3. Run the rsyslog docker container
340+
~~~
341+
342+
Now you can run the rsyslog docker container
342343
343344
![user input](images/userinput.png)
344345
>```sh
@@ -348,9 +349,8 @@ action(type="omfile" file="/var/log/syslog")
348349
You should have the container up and running
349350
![Syslog container](images/syslogcontainer.jpg)
350351
351-
4. Update app with the syslog url
352+
Then update app with the syslog url. You need to check your host IP and then run the following.
352353
353-
Check your host IP and run the following.
354354
![user input](images/userinput.png)
355355
>```sh
356356
>fn update app tutorial --syslog-url tcp://<your host ip>:601

0 commit comments

Comments
 (0)