Eixix

Eixix

Member Since 6 Days Ago

Experience Points
100
Total
Experience

4,900 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
100 XP
Feb
17
4 days ago
Activity icon

Replied to Laravel 5.8 Log Levels Are Not Working

Hey Snapey, quite simple our log files have debug messages in them. Messages that get triggered by Log::debug('...')

Activity icon

Replied to Laravel 5.8 Log Levels Are Not Working

It does say:

[
     "default" => "daily",
     "channels" => [
       "stack" => [
         "driver" => "stack",
         "channels" => [
           "single",
         ],
       ],
       "single" => [
         "driver" => "single",
         "path" => "/var/www/XXX/storage/logs/laravel.log",
         "level" => "debug",
       ],
       "daily" => [
         "driver" => "daily",
         "path" => "/var/www/XXX/storage/logs/laravel.log",
         "level" => "error",
         "days" => 7,
       ],
       "slack" => [
         "driver" => "slack",
         "url" => null,
         "username" => "Laravel Log",
         "emoji" => ":boom:",
         "level" => "critical",
       ],
       "stderr" => [
         "driver" => "monolog",
         "handler" => "Monolog\Handler\StreamHandler",
         "with" => [
           "stream" => "php://stderr",
         ],
       ],
       "syslog" => [
         "driver" => "syslog",
         "level" => "debug",
       ],
       "errorlog" => [
         "driver" => "errorlog",
         "level" => "debug",
       ],
     ],
   ]
Activity icon

Replied to Laravel 5.8 Log Levels Are Not Working

Here is the .env

APP_ENV=production
APP_DEBUG=false
APP_KEY=randomstring
LOG_CHANNEL=daily

DB_HOST=localhost
DB_DATABASE=database
DB_USERNAME=user
DB_PASSWORD=password
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=redis

MAIL_DRIVER=smtp
MAIL_HOST=smtp.example.com
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_PRETEND=false

censored the important parts like passwords, urls or app keys

Activity icon

Replied to Laravel 5.8 Log Levels Are Not Working

Sadly no this does not work :/

Feb
14
1 week ago
Activity icon

Replied to Laravel 5.8 Log Levels Are Not Working

I cleared caches everytime, thats why the other changes worked. Only the log level change is the problem.

Activity icon

Started a new Conversation Laravel 5.8 Log Levels Are Not Working

Hey there,

in my Laravel 5.8 application daily logs are working fine. However, when changing the log level inside the logging.php, it always keeps logging level debug. Other changes inside the logging.php get applied, but not the level.

My logging.php:

<?php
use Monolog\Handler\StreamHandler;
return [
    /*
    |--------------------------------------------------------------------------
    | Default Log Channel
    |--------------------------------------------------------------------------
    |
    | This option defines the default log channel that gets used when writing
    | messages to the logs. The name specified in this option should match
    | one of the channels defined in the "channels" configuration array.
    |
    */
    'default' => 'daily',
    /*
    |--------------------------------------------------------------------------
    | Log Channels
    |--------------------------------------------------------------------------
    |
    | Here you may configure the log channels for your application. Out of
    | the box, Laravel uses the Monolog PHP logging library. This gives
    | you a variety of powerful log handlers / formatters to utilize.
    |
    | Available Drivers: "single", "daily", "slack", "syslog",
    |                    "errorlog", "monolog",
    |                    "custom", "stack"
    |
    */
    'channels' => [
        'stack' => [
            'driver' => 'stack',
            'channels' => ['single'],
        ],
        'single' => [
            'driver' => 'single',
            'path' => storage_path('logs/laravel.log'),
            'level' => 'debug',
        ],
        'daily' => [
            'driver' => 'daily',
            'path' => storage_path('logs/laravel.log'),
            'level' => 'error',
            'days' => 7,
        ],
        'slack' => [
            'driver' => 'slack',
            'url' => env('LOG_SLACK_WEBHOOK_URL'),
            'username' => 'Laravel Log',
            'emoji' => ':boom:',
            'level' => 'critical',
        ],
        'stderr' => [
            'driver' => 'monolog',
            'handler' => StreamHandler::class,
            'with' => [
                'stream' => 'php://stderr',
            ],
        ],
        'syslog' => [
            'driver' => 'syslog',
            'level' => 'debug',
        ],
        'errorlog' => [
            'driver' => 'errorlog',
            'level' => 'debug',
        ],
    ],
];