Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7197019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:53:24+00:00 2026-05-28T20:53:24+00:00

I currently trying to setup otp logging in my app as documentation recommends to

  • 0

I currently trying to setup otp logging in my app as documentation recommends to use it.

I have following startup line:

erl -pa ebin edit deps/*/ebin -boot start_sasl \
            -detached \
            -sasl sasl_error_logger "{file, \"priv/log/app.log\"}" \
            -sasl errlog_type all \
            -sname $APP_NAME \
            -s $APP_NAME

But when i say in my app something like error_logger:error_report("!!!!") or error_logger:error_msg("!!!!"), then nothing is printed in log file, what i’m doing wrong ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:53:25+00:00Added an answer on May 28, 2026 at 8:53 pm

    The problem is very simple. SASL only logs PROGRESS, CRASH and SUPERVISOR reports (or so the documentation says). You are sending something which is an ERROR report which it doesn’t log. If you create some crash in a process that is SASL-enabled, say

    proc_lib:spawn(fun() -> exit(argh) end).
    

    Then that report should come up in your log. I think the mf logger takes everything but I might be wrong. It also requires the rb tool to read the log files in question. A good alternative for a real application is to use the lager application written by the fine guys at Basho technologies. It provides a more syslog-like interface and it also handles SASL error log types too. In addition it won’t destroy your server if you try to log a very large process state – which the default SASL loggers will.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

currently I'm trying to have a setup where a generic database is distributed to
Hi I would like to replicate the setup. I'm currently trying to use a
Currently I have the following fulltext index setup: fulltext on: Number - Name -
I am trying to setup tracd for the project I am currently working on.
I'm currently trying to use my Xbox 360 controller in my WPF application but
I'm currently trying to use the core-plot library to graph some data I get
I am currently trying to make a game in Android. I have this piece
I'm currently trying to use ASP.Net Profiles to store additional user information about users
I am currently trying to use NAnt and CruiseControl.NET to manage various aspects of
I'm currently learning hadoop and I'm trying to setup a single node test as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.