Giter Club home page Giter Club logo

pr-log-viewer's Introduction

PR LOG Viewer 1.1

LIVE DEMO

How to Configure (config.php)

Set Date/Time format

Configure the date/time format.

$config['date_format']="Y-m-d";
$config['hour_format']="H:i:s";

Set your log file server

You need to host the ra_adminlog.txt and cd_hash.log or have internally access to configure the link/folder on 'path'.

Local file example for windows: 'path' => 'c:/prserver/logs/ra_admin_or_cdhash.txt',

Local file example for linux: 'path' => '/home/prserver/logs/ra_admin_or_cdhash.txt',

/* --------- SERVERS --------- */
$config['servers_list'][] = [
    'id' => 1, // keep the sequential order
    'name' => 'DIVSUL BRA', // server name

    // log files
    'active_log' => 'http://sposerver.divsul.com:666/PRServer/logs/ra_adminlog.txt', // filelog 1
    'path' => 'http://sposerver.divsul.com:666/PRServer/logs/ra_adminlog_main.txt', // filelog 2

    // hash files
    'hash_active_log' => 'http://sposerver.divsul.com:666/PRServer/logs/cdhash.txt', // filelog 1
    'path_hash' => 'http://sposerver.divsul.com:666/PRServer/logs/cdhash_main.txt', // filelog 2

    'local_name' => 'divsul_bra.txt', // file name for this server
];

$config['servers_list'][] = [
    'id' => 2, // keep the sequential order
    'name' => 'DIVSUL USA', // server name

    // log files
    'active_log' => 'http://miaserver.divsul.com:666/PRServer/logs/ra_adminlog.txt', // filelog 1
    'path' => 'http://miaserver.divsul.com:666/PRServer/logs/ra_adminlog_main.txt', // filelog 2

    // hash files
    'hash_active_log' => 'http://miaserver.divsul.com:666/PRServer/logs/cdhash.txt', // filelog 1
    'path_hash' => 'http://miaserver.divsul.com:666/PRServer/logs/cdhash_main.txt', // filelog 2

    'local_name' => 'divsul_usa.txt', // file name for this server
];

Enable/Disable Login access to view the logs

$config['require_login'] = false;

Display/Hide the last two blocks from the IP

This feature change ip from 201.201.201.201 to 201.201.000.000

$config['hide_ips'] = true;

Passwors with MD5

When you configure the 'password' with MD5, need to be encrypted and configure on the 'password' line.

$config['with_md5']=true;
$config['auth'] = [
    0 => [
        'id' => 1,
        'username' => 'admin',
        'password' => '21232f297a57a5a743894a0e4a801fc3',
        'name'=>'Admin'
    ]
];

Page Settings

 
// width of page
$config['full_width'] = false;
 
// height of modal
$config['modal_height'] = '700px';
 

*** IMPORTANT NOTE *** Need write permissions on the folder public/logs

Maintainers

  • Ferreira
  • Danesh_italiano

Initializers

  • Jeferson Costa
  • Renan Costa (xlShogunlx)

pr-log-viewer's People

Contributors

gerbesf avatar

Stargazers

Nick Fn Blum avatar

Watchers

James Cloos avatar  avatar Nick Fn Blum avatar

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.