Code Monkey home page Code Monkey logo

Comments (3)

vpavlin avatar vpavlin commented on May 20, 2024

Default for production should be probably Warning

For staging info

For development debug

Where are the prints? I only found 3 through the Github search

from log-anomaly-detector.

zak-hassan avatar zak-hassan commented on May 20, 2024

search and replace 'print' with 'logger'

anomaly_detector/events/anomaly_event.py:69:        print("Recording anomaly-event: {} {} {} {}".
anomaly_detector/events/anomaly_event.py:75:        print("data['false_anomaly'] is {} ".format(data['false_anomaly']))
anomaly_detector/fact_store/fact_store_api.py:22:                print("Creating tables")
anomaly_detector/fact_store/fact_store_api.py:25:            print("Exception occurred: {} ".format(e))
anomaly_detector/fact_store/fact_store_api.py:46:        print("Event ID: {}  recorded in events_store"
anomaly_detector/fact_store/fact_store_api.py:68:            print("Persisted ID: {} recorded in FStore".format(feedback.id))
anomaly_detector/storage/es_storage.py:46:            print(self.config.storage.ES_USE_SSL)
anomaly_detector/types/anomaly_status.py:2:import pprint
anomaly_detector/types/anomaly_status.py:17:        return pprint.pformat(self.value)
validation_data/REAMDE.md:56:This will kick of a training and inference loop, printing status and found anomlies to the terminal.
validation_data/generate_validation_data.py:83: print(len(data), "logs and corresponding labels saved to disk as verification_data.json and labels.pkl")

from log-anomaly-detector.

zak-hassan avatar zak-hassan commented on May 20, 2024

Complete.

from log-anomaly-detector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.