File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
lib/functions/logging-functions
tools/work/work-not-logged-in Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { EnvironmentConfigProd } from './environment.prod.config'
88
99function getEnvironmentConfig ( ) : GlobalConfig {
1010
11+ console . debug ( 'REACT_APP_HOST_ENV' , process . env . REACT_APP_HOST_ENV )
1112 switch ( process . env . REACT_APP_HOST_ENV ) {
1213
1314 case AppHostEnvironment . bsouza :
Original file line number Diff line number Diff line change @@ -4,21 +4,24 @@ import { GlobalConfig } from '../../global-config.model'
44
55export function initialize ( config : GlobalConfig ) : void {
66
7+ console . debug ( 'init logging' , config . LOGGING )
8+
79 // if we don't have a token and service,
810 // logging isn't supported in this environment,
911 // so don't initialize anything
1012 if ( ! config . LOGGING ?. PUBLIC_TOKEN || ! config . LOGGING ?. SERVICE ) {
1113 return
1214 }
1315
16+ console . debug ( 'logging env' , config . ENV )
1417 datadogLogs . init ( {
1518 clientToken : config . LOGGING . PUBLIC_TOKEN ,
1619 env : config . ENV ,
1720 service : config . LOGGING . SERVICE ,
1821 silentMultipleInit : true ,
1922 } )
2023
21- info ( `initialized logging for ${ config . ENV } ` )
24+ info ( `initialized logging for ${ config . ENV } test ` )
2225}
2326
2427export function error ( message : string , messageContext ?: object ) : void {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const WorkNotLoggedIn: FC<{}> = () => {
6565 < div className = { styles . rightContent } >
6666
6767 < h2 className = { styles . title } >
68- put our great talent to work for you
68+ TOPCODER put our great talent to work for you
6969 </ h2 >
7070
7171 < p className = { styles . description } >
You can’t perform that action at this time.
0 commit comments