mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-27 10:05:53 +03:00
[GH-ISSUE #236] 无配置文件 #191
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xinsir88 on GitHub (May 6, 2020).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/236
新安装的log.io在宿主目录下,并没有找到配置文件,这个文件是需要自己创建嘛?
`ubuntu@ip-172-30-5-72:~$ sudo npm install -g log.io
/usr/local/bin/log.io-server -> /usr/local/lib/node_modules/log.io/bin/log.io-server
updated 1 package in 1.943s
ubuntu@ip-172-30-5-72:
$ pwd$ ls -a/home/ubuntu
ubuntu@ip-172-30-5-72:
/$ ll -a ~/. .. .bash_history .bash_logout .bashrc .cache .config .npm .profile .ssh .sudo_as_admin_successful
ubuntu@ip-172-30-5-72:
total 40
drwxr-xr-x 6 ubuntu ubuntu 4096 May 6 07:50 ./
drwxr-xr-x 3 root root 4096 May 6 06:05 ../
-rw------- 1 ubuntu ubuntu 459 May 6 07:44 .bash_history
-rw-r--r-- 1 ubuntu ubuntu 220 Feb 25 12:03 .bash_logout
-rw-r--r-- 1 ubuntu ubuntu 3771 Feb 25 12:03 .bashrc
drwx------ 2 ubuntu ubuntu 4096 May 6 06:09 .cache/
drwx------ 3 ubuntu ubuntu 4096 May 6 07:50 .config/
drwxrwxr-x 4 ubuntu ubuntu 4096 May 6 07:50 .npm/
-rw-r--r-- 1 ubuntu ubuntu 807 Feb 25 12:03 .profile
drwx------ 2 ubuntu ubuntu 4096 May 6 06:05 .ssh/
-rw-r--r-- 1 ubuntu ubuntu 0 May 6 06:09 .sudo_as_admin_successful`
@msmathers commented on GitHub (May 6, 2020):
Correct, you will need to manually create configuration files. The
log.iopackage doesn't require you to create a configuration file, however if you want to use custom ports for the servers, you can specify them in~/.log.io/server.json.For the
log.io-file-inputpackage, specify which log files to watch in~/.log.io/inputs/file.json.See the README for configuration examples for both packages.