Skip to content

Matt Berther
mattberther

Organizations

@cds-hooks
Jun 17, 2016
@mattberther

I would expect it to rotate, assuming you have maxsize set. Obviously, it wouldn't rotate on date. Please let me know if you see different behavior.

Jun 17, 2016
@mattberther

Please provide the code you're using. Im unable to reproduce. The sample I posted above creates appropriately named log files. Make sure that you'r…

Jun 17, 2016
@mattberther
Active/current log file with no date postfix?
Jun 17, 2016
@mattberther

@bitsofinfo to close the loop on this: the following code should get you what you're requesting: var fileTransportOpts = { filename: './server', da…

Jun 16, 2016
@mattberther

I believe you should be able to set date format to '.log'.

Jun 16, 2016
@mattberther

@kumar-b would be interested in creating a rotate function (with tests) that satisfies the initial screenshot? Basically, the requirement is that a…

Jun 14, 2016
@mattberther

Thanks @rdpoor - I've tried running this in a real tight loop and haven't been successful either.

Jun 13, 2016
@mattberther

@rdpoor and @rgmembreno - Im having a tough time coming up with a simple example that reproduces this. Can you create a gist that demonstrates the …

Jun 13, 2016
@mattberther
  • @mattberther 82d7b17
    adding sync call to test setup
Jun 13, 2016
@mattberther
  • @mattberther 0e50121
    adding call to done() in beforeEach
Jun 13, 2016
@mattberther
Log files are rotated every minute even if datePattern specifies only daily rotation
Jun 13, 2016
@mattberther

Resolved by a07b820.

Jun 13, 2016
@mattberther
#40 Log files are rotated every minute even if datePattern specifies only daily rotation
Jun 13, 2016
@mattberther

Merged as a07b820. Thanks for your contribution, @kumar-b.

Jun 13, 2016
@mattberther
  • @mattberther a07b820
    added _filenameHasExpired function which checks validity of filename …
Jun 13, 2016
@mattberther

Thanks again for your contribution, @stefanheine - Ill open a separate PR for moment options.

Jun 13, 2016
@mattberther
Jun 13, 2016
@mattberther
Add 'ddd' format option for weekday
2 commits with 32 additions and 6 deletions
Jun 13, 2016
@mattberther
inherit winston.transports.File rather than rewrite it
Jun 13, 2016
@mattberther

Closing out for now - we can revisit if/when winston adds the necessary hook to override.

Jun 13, 2016
@mattberther
Allow subdirectories to be specified in the datePattern option
Jun 13, 2016
@mattberther

I like this idea -- however, i implemented slightly differently to preserve existing functionality. Please take a look at #45 and see if that meets…

Jun 13, 2016
@mattberther
create subdirectories with datePattern, if desired
1 commit with 42 additions and 2 deletions
Jun 13, 2016
@mattberther
log file name changed since version 1.1.2
Jun 13, 2016
@mattberther

The issue should be resolved -- while still maintaining the desired functionality from #38. Pushed to npm as v1.1.4. Please dont hesitate to let me…

Jun 13, 2016
@mattberther
  • @mattberther fd3e85f
    resolving #44 and reverting to default filename concatenation unless …
Jun 13, 2016
@mattberther

Thank you for your report. There appears to be a regression introduced at d17c0d8. Im in process of addressing now.

Something went wrong with that request. Please try again.