<commit_before>firestarter
===========

NodeJS client application spawner (with enhanced logging)

Development project, designed for Linux distributions, that starts node projects (as a none privileged user [nodeserver], and using the [nogroup] group.

This tool uses the spawn functionality (similar to cluster), allowing a process per cpu, and implements messaging to shutdown the client, and bring up a new client on death of the child.

Also included, and can be used stand-alone, is the setLoggin.js file, which updates the standard console.log() function(s) to provide more detail, and more control over logging levels.

A work in progress ;-)

### Contributors 

<NAME> (davewilliamson)<commit_msg>Update to readme<commit_after>firestarter
===========

## Installation

	Command Shell:
    npm install firestarter
    
    add a NON-PRIVILEGED USER called nodeserver (this user is switched to on execution)
    
    In app:
    require fs=require('firestarter');
    
    When executing:
    sudo node {app}
    


## ** NOTE - INSTALLING THIS DOES NOT REALLY DO ANYTHING (YET!) **
The code is useful to see how to spawn, and communicate with child processes 

## Description

NodeJS client application spawner (with enhanced logging)

Development project, designed for Linux distributions, that starts node projects (as a none privileged user [nodeserver], and using the [nogroup] group.

This tool uses the spawn functionality (similar to cluster), allowing a process per cpu, and implements messaging to shutdown the client, and bring up a new client on death of the child.

Also included, and can be used stand-alone, is the setLoggin.js file, which updates the standard console.log() function(s) to provide more detail, and more control over logging levels.

A work in progress ;-)

### Contributors 

<NAME> (davewilliamson)
{'fraction_non_alphanumeric': 0.07348938486663037, 'fraction_numerical': 0.0, 'mean_word_length': 4.437869822485207, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1284920', 'n_tokens_mistral': 495, 'n_tokens_neox': 462, 'n_words': 243}