4254 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 2
38 results tagged log x
  • thumbnail
    https://github.com/stern/stern
    March 22, 2022 at 12:54:25 PM GMT+1 - permalink - archive.org - https://github.com/stern/stern
    k8s log
  • thumbnail
    Python logging - under the hood
    November 30, 2020 at 3:55:54 PM GMT+1 - permalink - archive.org - https://blog.urbanpiper.com/understanding-python-logging-library/
    log python
  • Note: Replace literal \n with actual newline
    sed 's/\\n/\n/g' /tmp/t
    September 30, 2020 at 11:49:48 AM GMT+2 * - permalink - archive.org - https:///?cXcMlg
    backslash literal log logs n replace sed
  • Fluent Bit
    July 23, 2020 at 11:05:20 AM GMT+2 - permalink - archive.org - https://docs.datadoghq.com/fr/integrations/fluentbit/#configuration-parameters
    datadog ecs log
  • Logging Cookbook — Python 3.8.3rc1 documentation
    May 14, 2020 at 9:41:12 AM GMT+2 - permalink - archive.org - https://docs.python.org/3/howto/logging-cookbook.html
    cookbook log python
  • thumbnail
    GitHub - timberio/vector: A High-Performance, Logs, Metrics, & Events Router

    via Doo

    October 10, 2019 at 4:07:21 PM GMT+2 - permalink - archive.org - https://github.com/timberio/vector
    log logs
  • thumbnail
    wercker/stern: ⎈ Multi pod and container log tailing for Kubernetes
    June 7, 2019 at 8:21:23 AM GMT+2 - permalink - archive.org - https://github.com/wercker/stern
    k8s log
  • thumbnail
    boz/kail: kubernetes log viewer

    un projet similaire à kubetail

    March 25, 2019 at 10:34:58 PM GMT+1 - permalink - archive.org - https://github.com/boz/kail
    k8s kubetail log tail
  • Services - Kubernetes

    How to configure LoadBalancer (ELB) populated by k8s in aws (eks)

    February 9, 2019 at 12:12:15 PM GMT+1 - permalink - archive.org - https://kubernetes.io/docs/concepts/services-networking/service/#elb-access-logs-on-aws
    elb k8s log
  • mod_log_config - Apache HTTP Server Version 2.4

    %{VARNAME}o The contents of VARNAME: header line(s) in the reply.
    %{VARNAME}i The contents of VARNAME: header line(s) in the request sent to the server.

    December 22, 2017 at 2:37:08 PM GMT+1 - permalink - archive.org - http://httpd.apache.org/docs/current/mod/mod_log_config.html#logformat
    apache header log
  • Logging HOWTO — Python 3.6.2rc2 documentation

    python3 log to file AND stdout
    import logging
    logging.basicConfig(handlers=[logging.FileHandler('/var/log/runner/process1.log'),logging.StreamHandler()],format='%(asctime)s %(levelname)s %(message)s',level=logging.INFO)

    logging.info('foo')

    Encore mieux pour supporter le logrotate sans copytruncate :
    import logging.handlers
    logging.basicConfig(handlers=[logging.handlers.WatchedFileHandler('/var/log/worker/worker1.log'),logging.StreamHandler()],format='%(asctime)s %(levelname)s %(message)s',level=logging.INFO)

    /var/log/worker/*.log {
    monthly
    rotate 12
    compress
    delaycompress
    missingok
    notifempty
    create 644 root root
    }

    Python 2:

    import logging as loggingg

    logging = loggingg.getLogger('simple_example')
    logging.setLevel(loggingg.INFO)

    formatter = loggingg.Formatter('%(asctime)s %(levelname)s %(message)s')

    console_handler = loggingg.StreamHandler()
    console_handler.setLevel(loggingg.INFO)
    console_handler.setFormatter(formatter)

    file_handler = loggingg.FileHandler('/var/log/worker/worker3.log')
    file_handler.setLevel(loggingg.INFO)
    file_handler.setFormatter(formatter)

    logging.addHandler(console_handler)
    logging.addHandler(file_handler)

    July 11, 2017 at 10:05:21 AM GMT+2 * - permalink - archive.org - https://docs.python.org/3/howto/logging.html
    log logrotate python
  • Configure logging drivers - Docker Documentation

    Logging option

    April 20, 2017 at 4:27:25 PM GMT+2 - permalink - archive.org - https://docs.docker.com/engine/admin/logging/overview/#syslog
    docker log
  • Symfony and Monolog, how use Processor in your project: a practical example « Stefano Alletti
    March 24, 2017 at 5:09:44 PM GMT+1 - permalink - archive.org - https://stefanoalletti.wordpress.com/2017/03/09/symfony-and-monolog-how-use-processor-in-your-project/
    log monolog php symfony
  • thumbnail
    logging - How to log into a file for a python & bottle web server? - Stack Overflow

    import logging
    logging.basicConfig(filename='log.txt', format=logging.BASIC_FORMAT)
    logging.error('OH NO!')
    try:
    raise Exception('Foo')
    except:
    logging.exception("Oops:")

    March 2, 2017 at 8:56:16 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/15444695/how-to-log-into-a-file-for-a-python-bottle-web-server
    bottle log python
  • Note: function pour log en bash

    Je me mets ça de côté pour gagner du temps la prochaine fois

    !/bin/bash

    logfile=/tmp/logfile.log
    errorfile=/tmp/error.log

    function log() {
    echo -e "\e[34m\e[1m[$(date +%Y-%m-%d) $(date +%H:%M:%S)] $1\e[0m" | tee -a /tmp/logfile.log
    }

    function logerror() {
    echo -e "\e[91m\e[1m[$(date +%Y-%m-%d) $(date +%H:%M:%S)] $1\e[0m" | tee -a /tmp/logfile.log
    }

    log "prout"
    logerror "pwet"

    February 10, 2017 at 10:29:21 AM GMT+1 - permalink - archive.org - https:///?tQ0ssA
    bash function log
  • Multicontainer Docker Configuration - AWS Elastic Beanstalk

    TIL

    Beanstalk is a little bit... magic. Dunno yet if its good or not :

    Elastic Beanstalk creates log volumes on the container instance, one for each container, at /var/log/containers/containername. These volumes are named awseb-logs-containername and should be mounted to the location within the container file structure where logs are written.

    For example, the following mount point maps the nginx log location in the container to the Elastic Beanstalk–generated volume for the nginx-proxy container.

    {
    "sourceVolume": "awseb-logs-nginx-proxy",
    "containerPath": "/var/log/nginx"
    }

    And all this logs can be copied into s3 automagically: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elasticbeanstalkhostmanager

    February 2, 2017 at 3:22:37 PM GMT+1 - permalink - archive.org - http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_v2config.html#create_deploy_docker_v2config_dockerrun_format
    aws beanstalk log logs
  • Git Blame: Fun with --first-parent
    December 29, 2016 at 1:37:32 PM GMT+1 - permalink - archive.org - https://git-blame.blogspot.ch/2012/03/fun-with-first-parent.html
    first git log parent
  • How To Tell Apache To Not Log Certain Requests In Its Access Log

    Log selectif apache

    October 18, 2016 at 3:11:30 PM GMT+2 - permalink - archive.org - https://www.howtoforge.com/setenvif_apache2
    apache log
  • Note: get aws flow logs

    aws logs get-log-events --log-group-name XX --log-stream-name YY --start-time 1476350746000

    Je commence à bien aimer aws.

    October 13, 2016 at 2:37:35 PM GMT+2 - permalink - archive.org - https:///?ZHDmkA
    aws flow log logs
  • SSH Blamer

    Encore un exemple d'utilisation de env= dans le authorized keys

    via skunnyk

    August 1, 2016 at 5:09:11 PM GMT+2 - permalink - archive.org - http://damiengustave.fr/ssh-blamer/
    blame log ssh
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation