Skip to content

NS3 log file too big #153

Answered by kschrab
DFCui asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the main configuration for logging in MOSAIC is in etc/logback.xml. To disable the log for Ns3Ambassador completely, you can change the log level for the logger named "org.eclipse.mosaic.fed.ns" to WARN or ERROR:

<logger name="org.eclipse.mosaic.fed.ns3" additivity="false" level="ERROR">
    <appender-ref ref="CommunicationLog"/>
</logger>

To configure the logging of the ns-3 federate, than you need to configure the logging in the top section of the ns3_federate_config.xml of the scenario. Here we already pre-configured the logging level for each component of ns-3, to make it simpler for the user. Make sure to use the latest version of MOSAIC , as we just improved the logging a few da…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DFCui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants