[PR #152] [CLOSED] add glob to allow for glob patterns in config. #251

Closed
opened 2026-02-26 05:31:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NarrativeScience-old/log.io/pull/152
Author: @martindale
Created: 3/29/2015
Status: Closed

Base: masterHead: glob-patterns


📝 Commits (1)

  • 8d8f44b add glob to allow for glob patterns in config.

📊 Changes

1 file changed (+18 additions, -7 deletions)

View changed files

📝 package.json (+18 -7)

📄 Description

This allows for the following pattern to be specified, which looks something like this:

exports.config = {
  nodeName: "application_server",
  logStreams: {
    apache: require('glob').sync('/var/log/router/+[access|error]*.log')
  },
  server: {
    host: '0.0.0.0',
    port: 28777
  }
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NarrativeScience-old/log.io/pull/152 **Author:** [@martindale](https://github.com/martindale) **Created:** 3/29/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `glob-patterns` --- ### 📝 Commits (1) - [`8d8f44b`](https://github.com/NarrativeScience-old/log.io/commit/8d8f44bd9e1969d22f182a8bc31750aeeae0fd04) add `glob` to allow for glob patterns in config. ### 📊 Changes **1 file changed** (+18 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+18 -7) </details> ### 📄 Description This allows for the following pattern to be specified, which looks something like this: ``` javascript exports.config = { nodeName: "application_server", logStreams: { apache: require('glob').sync('/var/log/router/+[access|error]*.log') }, server: { host: '0.0.0.0', port: 28777 } } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 05:31:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#251
No description provided.