Code Monkey home page Code Monkey logo

Comments (5)

wuai1024 avatar wuai1024 commented on June 3, 2024 2

我也想问这个,目前使用docker部署的,都只有文件能看到。

docker logs frpc 没有内容

from frp.

superzjg avatar superzjg commented on June 3, 2024

一直都是分开的,你可以两种方式实现:
1、设置log.to为文件,运行frp命令时,使用重定向 > 或 >> log.to定义的文件
2、不设置log.to为文件,而是 console,运行frp命令时,重定向 > 或 >> 到某个文件

from frp.

superzjg avatar superzjg commented on June 3, 2024

一直都是分开的,你可以两种方式实现: 1、设置log.to为文件,运行frp命令时,使用重定向 > 或 >> log.to定义的文件 2、不设置log.to为文件,而是 console,运行frp命令时,重定向 > 或 >> 到某个文件

我自己再说一点,openwrt 系统中 将 frp 以 procd方式启动/守护时,设置
procd_set_param stdout 1
procd_set_param stderr 1
设置后,标准输出和标准错误,并不会重定向到 syslog,这个问题确实存在。
procd 简介:https://openwrt.org/docs/guide-developer/procd-init-scripts#defining_service_instances

from frp.

mapxn avatar mapxn commented on June 3, 2024

我也想问这个,目前使用docker部署的,都只有文件能看到。

docker logs frpc 没有内容

我也是发现使用最新版后,docker logs没有输出了(配置文件平滑迁移的)

from frp.

github-actions avatar github-actions commented on June 3, 2024

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.