GithubHelp home page GithubHelp logo

Comments (1)

carlosfu avatar carlosfu commented on May 18, 2024

1.目前日志的记录方式是通过启动时重定向输出实现的
2.一旦日志文件被删除了,那么以后的日志就没办法写入
3.文件会显示deleted状态

redis源生的做法会重新open日志文件

cachecloud现在使用的是 redis-server xx.conf > xx.$timestamp}.log的方式来启动Redis,如果日志被删除确实存在你说的的问题,但是有两点:

  1. 一般日志不会删除。
  2. 采用了${timestamp}作为日志的文件名,是为了记录每次启动redis(上下线)时候把日志文件分割开,便于查询。

如果你想使用logfile的方式进行配置,可以修改cachecloud源码中的RedisConfigEnum和RedisProtocol类。

from cachecloud.

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.