Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
3086589e
Commit
3086589e
authored
May 24, 2018
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update samples.
parent
68243b88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
52 deletions
+8
-52
nlog.config
samples/Sample.Kafka.MySql/nlog.config
+0
-26
appsettings.json
samples/Sample.RabbitMQ.MySql/appsettings.json
+8
-0
nlog.config
samples/Sample.RabbitMQ.MySql/nlog.config
+0
-26
No files found.
samples/Sample.Kafka.MySql/nlog.config
deleted
100644 → 0
View file @
68243b88
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
nlog
xmlns
=
"http://www.nlog-project.org/schemas/NLog.xsd"
xmlns
:
xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
autoReload
=
"true"
internalLogLevel
=
"Warn"
internalLogFile
=
"logs/internal-nlog.txt"
>
<
variable
name
=
"myLogLayout"
value
=
"---------------------------------------------------------------------------${newline}Date:${longdate} Level:${uppercase:${level}} User:${aspnet-user-identity}(${aspnet-request-ip}) Logger:${logger} URL:${aspnet-request-method} ${aspnet-request-url:IncludePort=true:IncludeQueryString=true} Action:${aspnet-mvc-action} ${newline}Message:${message} ${newline}${onexception:Exception:${exception:format=toString}}"
/>
<
extensions
>
<
add
assembly
=
"NLog.Web.AspNetCore"
/>
</
extensions
>
<!--
define
various
log
targets
-->
<
targets
>
<!--
write
logs
to
file
-->
<
target
name
=
"allfile"
xsi
:
type
=
"File"
fileName
=
"logs/cap-all-${shortdate}.log"
layout
=
"${myLogLayout}"
/>
</
targets
>
<
rules
>
<!--
All
logs
,
including
from
Microsoft
-->
<
logger
name
=
"*"
minlevel
=
"Debug"
writeTo
=
"allfile"
/>
</
rules
>
</
nlog
>
\ No newline at end of file
samples/Sample.RabbitMQ.MySql/appsettings.json
0 → 100644
View file @
3086589e
{
"Logging"
:
{
"IncludeScopes"
:
false
,
"LogLevel"
:
{
"Default"
:
"Debug"
}
}
}
samples/Sample.RabbitMQ.MySql/nlog.config
deleted
100644 → 0
View file @
68243b88
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
nlog
xmlns
=
"http://www.nlog-project.org/schemas/NLog.xsd"
xmlns
:
xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
autoReload
=
"true"
internalLogLevel
=
"Warn"
internalLogFile
=
"logs/internal-nlog.txt"
>
<
variable
name
=
"myLogLayout"
value
=
"---------------------------------------------------------------------------${newline}Date:${longdate} Level:${uppercase:${level}} User:${aspnet-user-identity}(${aspnet-request-ip}) Logger:${logger} URL:${aspnet-request-method} ${aspnet-request-url:IncludePort=true:IncludeQueryString=true} Action:${aspnet-mvc-action} ${newline}Message:${message} ${newline}${onexception:Exception:${exception:format=toString}}"
/>
<
extensions
>
<
add
assembly
=
"NLog.Web.AspNetCore"
/>
</
extensions
>
<!--
define
various
log
targets
-->
<
targets
>
<!--
write
logs
to
file
-->
<
target
name
=
"allfile"
xsi
:
type
=
"File"
fileName
=
"logs/cap-all-${shortdate}.log"
layout
=
"${myLogLayout}"
/>
</
targets
>
<
rules
>
<!--
All
logs
,
including
from
Microsoft
-->
<
logger
name
=
"*"
minlevel
=
"Debug"
writeTo
=
"allfile"
/>
</
rules
>
</
nlog
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment