I installed RabbitMQ 3.3.0 on our dev Win2008R2 box as my domain user
acme\smcfadden. After install was complete, I changed the Windows service
identity
from amce\smcfadden to acme\rabbitservice (acme\rabbitservice is a local
admin). Also, I added the following system level environment variable:


RABBITMQ_LOG_BASE = C:\Logs\RabbitMQ


I then restarted the RabbitMQ service via the MMC snapin for services.


Unfortunately, the log files still write to
C:\Users\smcfadden\AppData\Roaming\RabbitMQ instead of C:\Logs\RabbitMQ


Please advise how to change log file location.






scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140729/ff92cd2b/attachment.html>

Search Discussions

  • Michael Klishin at Jul 30, 2014 at 3:11 am

    On 30 July 2014 at 05:45:03, Scott McFadden (scott.kendall.mcfadden at gmail.com) wrote:
    I then restarted the RabbitMQ service via the MMC snapin for
    services.

    Unfortunately, the log files still write to C:\Users\smcfadden\AppData\Roaming\RabbitMQ
    instead of C:\Logs\RabbitMQ

    From?http://www.rabbitmq.com/configure.html:


    ?Create or edit the system variable name and value. For environment changes to take effect on Windows, the service must be re-installed. It is not sufficient to restart the service.?


    ?
    As a side note, the official RabbitMQ mailing list is rabbitmq-users. rabbitmq-discuss
    is an unofficial mirror to the legacy list.


    Please use?groups.google.com/forum/#!forum/rabbitmq-users as rabbitmq-discuss will be
    completely discontinued on Oct 1st.
    --
    MK


    Staff Software Engineer, Pivotal/RabbitMQ
  • Mariusz Wojcik at Jul 30, 2014 at 8:05 am
    This is a wild guess, but try reinstalling RabbitMQ server.
    I haven't changed log file location, but I had issues with config file
    location on windows 2012, where RabbitMQ was reporting it couldn't find the
    file even though the file was there and was accessible. Also changing
    config file location in env. variable didn't help. But reinstalling
    RabbitMQ service worked.


    Cheers,


    Mariusz

    On Wednesday, 30 July 2014 02:42:53 UTC+1, Scott McFadden wrote:

    I installed RabbitMQ 3.3.0 on our dev Win2008R2 box as my domain user
    acme\smcfadden. After install was complete, I changed the Windows service
    identity
    from amce\smcfadden to acme\rabbitservice (acme\rabbitservice is a local
    admin). Also, I added the following system level environment variable:

    RABBITMQ_LOG_BASE = C:\Logs\RabbitMQ

    I then restarted the RabbitMQ service via the MMC snapin for services.

    Unfortunately, the log files still write to
    C:\Users\smcfadden\AppData\Roaming\RabbitMQ instead of C:\Logs\RabbitMQ

    Please advise how to change log file location.



    scott
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140730/24080608/attachment.html>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedJul 30, '14 at 1:42a
activeJul 30, '14 at 8:05a
posts3
users3
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2017 Grokbase