Skip to content

FileTransport not compatible with Node 0.10 #227

@akoenig

Description

@akoenig

I'm not sure but I think that the new Streams2 API in Node 0.10.* has an impact on winston. If I try to log with the FileTransport it only writes one statement into the log file and stops then.

Means, every following logging transaction doesn't appear in the log file.

An alternative would be to use an own WriteableStream and push it into the "stream" property, but letting winston do that by defining a filename doesn't work.

Works in

  • 0.8.22

Doesn't work in

  • 0.10.0
  • 0.10.1

I created a little test case: winston-streams2.js - Checked it with the latest version of winston (0.6.2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions