Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wye msg ref release2 log #9

Open
wants to merge 9 commits into
base: messaging_refactor_release2nd
Choose a base branch
from

Commits on Oct 14, 2022

  1. Configuration menu
    Copy the full SHA
    345cf4c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. code clean: log

    	code clean;
    	add log file path option in setenv.sh, the default value is
    		src/lava/magma/runtime/message_infrastructure/log/;
    intel-whye committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    9152180 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'messaging_refactor_release2nd' of https://github.com/la…

    …va-nc/lava into wye_msg_ref_release2_log
    
    	add module: log to file
    intel-whye committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    53df96d View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. add 2 options of log

            add: 2 cmake command line arguments to indicate: which levels log would be recorded, and where printed to.
                    - MSG_LOG_LEVEL:
    			which levels log would be recorded, valid values:
                              all: all of levels would be recorded;
                              err_warn: both error and warning would be recorded;
                              a number from 0 to 31, consists of followings:
                            	#define LOG_MASK_NULL (0)
                                    #define LOG_MASK_INFO (1)
                                    #define LOG_MASK_DUMP (1<<1)
                                    #define LOG_MASK_DBUG (1<<2)
                                    #define LOG_MASK_WARN (1<<3)
                                    #define LOG_MASK_ERRO (1<<4)
    			DEFAULT VALUE: 16, error log only.
    		- MSG_LOG_PRINT_MODE:
    			where would log be printed to, valid values:
    			  all: both of console and file;
    			  file: file only;
    			  shell: console only;
    			  null: neither
    			  a number from 0 to 3, consists of followings:
    				#define LOG_PRINT_MASK_NULL (0)
    				#define LOG_PRINT_MASK_SHEL (1)
    				#define LOG_PRINT_MASK_FILE (2)
    			DEFAULT VALUE: 1, console only.
    intel-whye committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    15a3f7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11cf40e View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. change & fix

    	- change: log module indicate if this log need to be printed,
    		  except ERR, ERR will be printed whatever the module is.
    
    	- fix: several blank files would be created while log_to_file
    is enable but no log message to write.
    intel-whye committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    bc5cf77 View commit details
    Browse the repository at this point in the history
  2. change

    	- LOG_LEVEL: from bit to number, the lowers will contain the
    highers.
    	- LOG_PRINT: console always, get FILE setting from compiler
    macro.
    intel-whye committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    a583600 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    371a9a0 View commit details
    Browse the repository at this point in the history
  2. fix cpplint

    intel-whye committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    b60c220 View commit details
    Browse the repository at this point in the history