I created a project using rebar called "mything". I added lager as a dependency. Now how do I configure lager? I tried adding a "lager" section to "env" in mything.app.src but it doesn't seem to get those settings. I guess I don't know where env settings for dependencies are supposed to go.
How do you set application variables for a rebar dependency?
1.3k Views Asked by Matt At
1
There are 1 best solutions below
Related Questions in ERLANG
- erlang os:cmd() command with UTF8 binary
- Erlang syntax error unclear
- How to index a field with mongodb-erlang
- Erlang Dialyzer: only accept certain integers?
- Erlang spawning large amounts of C processes
- erlang processes and message passing architecture
- Mnesia pagination with fragmented table
- Does Erlang Have Map?
- First word of binary string erlang
- Elixir exrm release crashes on eredis start_link
- Erlang: Returning a function from a function
- How to index existing not-indexed data in riak search?
- Why do I receive a FunctionClauseError ("no function clause matching") in this Elixir program, translated from Erlang?
- How to list all the bucket types in riak?
- oauth2 authentication support in ejabberd
Related Questions in REBAR
- Cannot expand $ERTS_LIB_DIR in bootfile
- Erlang compile error "No command to run specified!"
- Using profiling tools with rebar
- Any best practice around having different data in /priv for testing vs production?
- how to use rebar to create an erlang module with an eunit test?
- How to start application before all eunit cases
- Command 'generate' not found, compiling with rebar
- Mustache conflict at release build
- How do I use "rebar ct" with a two application node?
- Why does rebar use my erl_opts to compile my deps?
- How to get rebar to run 'make' for a dependency?
- how to set include directory for rebar
- Erlang / Rebar3 - How to add an application to release but not launch it?
- How to add a dependency from my local file system with Rebar3?
- Configuring Lager - I get this error: undefined parse transform 'lager_transform'
Related Questions in LAGER
- Including lager in an erlang.mk project
- How do you set application variables for a rebar dependency?
- How to set lager.error_logger_hwm in RabbitMQ by rabbitmqctl command
- How to terminate gen_server gracefully without crash report
- Lager loglevels per application
- Lager test logging from the console
- Change default datetime format in Basho lager
- Lager calls failing during Common Test test runs
- Is it possible for lager to output 2 different log file for different application?
- Cowboy on Erlang crashes on shutdown
- Can two separate lager sinks log in to same file?
- Lager multiple sinks for different sub-applications
- How to solve collisions between Lager and OTP's Logger in Erlang?
- RabbitMQ Container Configurations Error error:badarg
- how to rotate log file with date in filename (ex: debug.log.2019-04-24) in erlang lager
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You need to create
config_name.configfile which contains list of configurations for each appliaction you want to configure:[{mything, [...]}, {lager, [...]}].Then you can pass it to
erlusing option-config config_name. It's called system configuration and it overrides default environment properties from.appfiles. In releases it's usually namedsys.config.Resources for you: Configuring an Application and config.