Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot stop log/pact.log from being created #15

Closed
BenSayers opened this issue Mar 2, 2015 · 3 comments
Closed

Cannot stop log/pact.log from being created #15

BenSayers opened this issue Mar 2, 2015 · 3 comments

Comments

@BenSayers
Copy link

I'm starting the pact mock service using this command:

pact-mock-service --port 1234 --log build-output/pact-mock-service-logs/pact.log --cors --pact-dir build-output/pact

Despite the fact I am passing a specific log file the file log/pact.log is created with the following contents:

# Logfile created on 2015-03-03 00:22:16 +1100 by logger.rb/31641

If I'm doing it wrong please let me know. Otherwise I think this is a bug.

I am using pact-mock_service 0.4.1, Ruby 1.9.3p551 and OS X 10.10.2.

@bethesque
Copy link
Member

It does sound like a bug. Are the actual logs going to the one you specify?

@BenSayers
Copy link
Author

Yes

@bethesque
Copy link
Member

I've fixed it, but it's not worth doing a release just for this. It will be out in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants