Code Monkey home page Code Monkey logo

Comments (9)

kenhys avatar kenhys commented on June 17, 2024

Here is the actual td-agent.log.

2020-08-04 10:10:56 +0900 [info]: starting fluentd-1.11.1 pid=1536 ruby="2.7.1"
2020-08-04 10:10:56 +0900 [info]: spawn command to main:  cmdline=["C:/opt/td-agent/bin/ruby.exe", "-Eascii-8bit:ascii-8bit", "C:/opt/td-agent/bin/fluentd", "-c", "C:\\opt\\td-agent\\\\etc\\td-agent\\td-agent.conf", "-o", "C:\\opt\\td-agent\\\\td-agent.log", "-x", "fluentdwinsvc", "--under-supervisor"]
2020-08-04 10:11:00 +0900 [info]: adding match pattern="td.*.*" type="tdlog"

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024

So, if in td-agent.conf use ENV['TD_AGENT_TOPDIR'] still /var/log/ is created.

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024

Currently use fluentd.rb to register, so winsvc.rb is used to control. it use always rubybin_dir/fluentd in service_main_start.

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024

How to fix?

  1. force to use fluentd.bat
    need to fork winsvc.rb?
  2. set TD_AGENT_TOPDIR explicitly and use TD_AGENT_TOPDIR
  3. rewrite fluentd.conf and embed full path.

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024
  1. it is too much to adopt.
  2. use https://wixtoolset.org/documentation/manual/v3/xsd/wix/environment.html is better maybe.
  3. need extension.

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024

It must be put under Component.

from fluent-package-builder.

kenhys avatar kenhys commented on June 17, 2024

Now building fixed version.

from fluent-package-builder.

cosmo0920 avatar cosmo0920 commented on June 17, 2024

#162 is merged. Closing,

from fluent-package-builder.

daipom avatar daipom commented on June 17, 2024

#162 (comment)

This will be fixed completely by

from fluent-package-builder.

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.