►
Description
In this demo, Ben will guide you through the different loggers' integration for ECE-Tools and the new Schema feature in ECE-Tools 2002.1.1
A
And
I'm
an
engineer
here
on
the
cloud
team
working
on
the
cloud
and
DC
tools,
and
today
I
was
going
to
talk
to
y'all
about
a
couple
of
kind
of
loosely
related
concepts.
First,
I
wanted
to
talk
about
configuring
logging
and
particular
log
handlers
in
DC
tools
and
then
later
on.
We're
going
to
talk
about
a
new
feature.
That's
coming
to
the
next
version
of
DC
tools,
and
that
is
the
configuration
schema.
A
So
just
kind
of
start
us
off
there
something's
a
little
bit
confusion
when
we
talked
about
logging
with
EC
tools,
we're
not
talking
about
logging
within
Magento
configuring.
The
gentles
logs
is
a
whole
other
discussion
that
we
don't
really
want
to
get
into
we're.
Just
talking
about
the
logs
that
get
generated
during
the
deployment
of
your
project
during
the
build
and
deploy
phases.
A
A
Let's
look
at
some
of
the
built-in
handlers
come
with
EC
tools
and
what
their
minimum
log
levels
are
setbacks.
Ec
tools
has
two
handlers
name
by
default.
The
first
is
the
stream
handler,
and
this
is
what
is
responsible
for
printing
all
the
output
to
the
screen
during
a
deployment
writes.
This
is
what
puts
all
the
information
out
on
your
shell
in
its
minimum
level
is
set
to
info,
meaning
that
anything
at
info
or
higher
is
going
to
be
displayed
on
your
screen,
while
you're
running
your
deployment.
A
Second,
handler
is
the
file
handler,
and
this
is
what
creates
that
cloud
that
log
file
on
your
server
and
it's
a
little
set
up
all
the
way
up
that
debug.
So
it's
at
the
most
verbose
outputs.
This
level
has
kind
of
changed
over
the
different
versions
of
EC
tools.
We
settled
on
using
debug,
though,
because
if
there
is
an
issue
and
one
of
our
support
engineers
needed
to
get
on
to
your
project,
we
wanted
to
make
sure
they
had
all
available
information
to
do
that
right.
So
they
could
be
able
to
debug
any
deployment.
A
Issues
that
came
up
we
didn't
want
them
have
to
go
back
and
try
and
rerun
the
phone,
so
they
didn't
need
to
now.
If
you
create
any
other
handlers
by
default,
their
minimum
level
is
going
to
be
set
up
and
notice.
So
that's
gonna
be
the
default
for
all
other
gamblers.
Besides
those
two,
if
you
want
to
change
that,
though,
you've
got
a
couple
of
different
options.
First
of
all,
you
can
just
adjust
the
minimum
level
across
the
board
using
a
configuration
men,
logging
level.
A
You
can
see
right
here
stage
global
mimicking
level
warning
and
by
doing
that,
you're
adjusting
that
default
minimum
level
for
all
of
your
handlers.
So
now
everything's
gonna
start
at
warning
and
go
up
from
there.
Do
you
want
a
little
bit
more
fine-grained
control?
You
can
specify
the
mid
level
already
her
handler
basis,
so
you
can
see
my
example
here,
I'm
saying
the
mid
level
of
my
stream
handler
up
to
notice.
So
maybe
I
want
to
kind
of
cut
down
on
some
of
the
noise.
A
That's
going
across
my
screen,
I'm
gonna
raise
its
level
up
to
notice.
Didn't
really
I
can
do
the
same
thing
for
the
file
handler
I
can
adjust
its
min
level
and
set
it
up
to
info
again.
Maybe
I
think
the
cloud
that
log
files
getting
too
big
I
want
to
cut
down
on
the
amount
of
data.
That's
going
into
that
so
I'm
gonna
raise
it
up
from
debug
into
info
now.
I
mentioned
other
handlers.
So
let's
talk
about
what
other
handlers
EC
tools
supports.
You've
got
syslog
and
syslog
UDP.
A
There
is
also
a
Delft
handler
and
then
you
can
also
configure
email
and
slack
handlers
in
a
second
I'm,
going
to
show
you
how
to
configure
email
and
sock
handlers
partially,
because
those
are
the
most
popular
handlers
with
other
sis.
You
use
Magento
cloud
and
partially
because
they
are
the
easiest
ones
to
step
up
without
creating
some
kind
of
third
party
external
service
to
handle
those
log
messages.
A
So
configuring,
an
email
handler,
is
pretty
straightforward.
In
your
Magento
envy
amyl
you
create
an
email
entry
under
the
log
section.
You
need
to
tell
what
address
to
send
all
those
emails
to
so
in
my
example,
here
I'm
sending
to
vine
adobe
address,
and
then
you
need
to
tell
ec
tools
where
those
emails
should
be
sent
from
what
the
reply
to
address
is.
A
In
this
example,
I'm
just
using
a
dummy,
no
reply,
example.com
address,
you
may
specify
what
subject
you
want
these
emails
to
have
there's
a
default
subject
that
EC
tools
uses,
but
maybe
you
want
to
customize
it
make
it
a
little
more
specific
to
your
project
and
then
you
can
also
specify
the
min
level
for
your
email
handle
it.
Just
like
the
other
handlers
and
for
email,
I
would
say
this
is
actually
very,
very
important.
A
Remember
the
default
minimum
level
for
all
your
handlers
is
notice,
though,
if
you
don't
adjust
the
min
level
for
your
email
handler.
That
means
that
you're
gonna
be
generating
an
email
message
for
every
single
notice
message
or
higher
in
your
deployment.
That's
gonna
be
a
lot
of
emails
by
pushing
that
level
up
to
error.
You're
gonna
cut
down
on
the
amount
of
messages
you
get
generated,
but
you're
also
kind
of
changing
the
purpose
of
this
handler
right
now.
A
Configuring
a
slack
handler
is
similar.
You
need
to
first
have
a
slack
bot
on
your
server.
Creating
slack
boxes
will
be
outside
of
the
scope
of
this
presentation,
but
it's
not
very
difficult
which
created
you
give
you
a
few
permissions
and
then
you'll
have
a
token,
and
then
you
take
that
token,
for
your
bot
and-
and
you
put
it
into
the
configuration
right
there,
you
can
specify
what
channel
your
slack
messages
should
go
to
and
again
I
would
recommend
doing
this.
A
The
default
channel
that
is
set
up
is
just
the
general
channel
on
your
sock
server,
and
this
is
also
the
default
channel
for
all
of
your
co-workers
and
other
people
at
your
organization,
and
so
they
probably
don't
want
a
lot
of
messages
being
sent
out
to
the
general
Channel
and
kind
of
flooding,
their
their
slack
messages.
That'd
be
kind
of
annoying,
so
I
recommend
creating
some
kind
of
dedicated
channel
for
your
slack
bot
and
then
adjusting
this
setting
here
in
the
Julian
de
animal.
A
So
let's
take
a
break
from
this
presentation
and
see
what
some
of
this
kind
of
looks
like
in
action
click
shitty
here
in
my
editor,
you
can
see.
I've
got
my
log
sections
set
up
with
my
email
handler
configured.
I
didn't
take
my
own
advice:
I,
don't
have
a
min
level
set
there
and
then
I
have
my
slack
Handler
I've
taken
the
liberty
of
removing
my
token
so
that
nobody
can
try
and
spam
my
personal
slack
channel
with
a
bunch
of
messages
and
then
the
channel
I
wanted
to
send
to
I
go
into
my
shell.
A
I've
got
one
commit
ready
to
push
so
I'll
go
ahead
and
do
that
and
we'll
give
it
a
second.
Hopefully,
in
a
moment
we
will
see
some
message
to
start
getting
posted
into
this
test.
Channel
I've
created
here
my
swag
server.
You
can
see
some
of
the
previous
messages
that
have
also
been
sent.
It's
worth
noting
these
messages
get
color-coded,
which
is
kind
of
cool
right
to
all.
Your
notices
are
color
coded
green
here.
This
warning
message
from
refuse
deployment
gets
color
codes,
Orange
errors,
infos,
etc.
A
A
Of
course,
have
more
time
at
the
end
of
the
presentation
that
they're
already
the
questions
that
come
up
so
we're
gonna
shift
gears
a
little
bit
and
we're
going
to
talk
about
a
new
feature
that
is
going
to
be
released
with
the
next
version.
Ec
tool
that's
coming
out
soon,
and
that
is
the
configuration
schema.
A
A
So
to
address
this
in
the
next
version
of
DC
tools,
we
have
split
this
all
out
into
a
separate
yamo
file,
schema
animal
and
that
file
is
going
to
be
a
central
place
for
all
this
information.
So
the
schema
Hamel
will
define
all
the
variables
type,
whether
they
are
boolean,
integer,
etc.
What
stage
they're
valid
in
whether
they
are
valid
for
a
build
or
deploy
or
global
stages?
What
the
default
values
for
those
variables
are
so,
for
example,
STD
compression
level
has
a
different
default
value,
whether
it
is
in
the
build
or
the
deployed
context.
A
So
it's
all
defined
in
this
schema
Hamel.
If
a
variable
has
a
certain
list
of
possible
values,
we'll
see
that
in
a
second,
but
we
can
specify
what
that
set
is
and
then
any
other
custom
validations
that
go
on
with
those
variables.
In
addition,
in
the
CMO
file,
we're
adding
some
in
context
documentation
for
those
variables,
so
we're
giving
a
description
for
every
single
variable,
as
well
as
some
examples
of
its
usage.
A
So,
let's
take
a
look
at
one
of
these
variables
in
the
schema
Hamel
and
since
we
mentioned
min
logging
level
or
in
the
presentation,
let's
take
a
look
at
what
it
looks
like
in
schema
DMO,
so
you
can
see
we
defined
a
variable.
We
give
it
a
description
here
at
the
top
I've
truncated
this
just
so
that
it
all
fits
into
one
slide.
We
declare
its
type.
These
again
are
all
your
standard,
PHP
types
string,
integer,
boolean's,
etc.
Min
logging
level
has
an
allowed
set
of
values
right.
That's
the
log
levels.
A
I
showed
you
to
begin
the
presentation,
and
so
we
again
restrict
what
is
allowed.
Values
are
to
these
sets
that
truncate,
it
again
min
logging
levels
only
valid
in
the
global
stage
and
then
here's
its
default
value
for
the
global
stage,
and
then
we
have
an
example
of
this
or
our
for
usage.
Now
this
file
is
going
to
be
added
to
DC
tools
repository,
and
so
it
will
be
in
your
vendor
folder.
A
If
you
want
to
dig
in
there
and
find
it,
but
if
you
want
to
make
it
a
little
bit
more
accessible,
we've
created
a
new
command
with
NEC
tools.
Easy
tools
schema
generate
that
will
create
a
markdown
file
based
upon
the
sea
animal
and
put
that
into
the
root
of
your
project.
It
makes
it
very
easy
to
look
up
this
documentation
and
have
it
at
your
fingertips
at
all
times.
Let's
see
what
that
looks
like
you
see,
my
deployment
has
finished.
Thank
goodness.
A
If
I
do
vendor
bin
schema
generate
and
give
it
a
second
we'll
have
that
Magento
env
MD
created
and
at
least
with
George
my
editor
real
fast,
and
let's
take
a
look
that
looks
like
so
here.
We
can
see
this
markdown
file
with
all
our
commands,
the
description
for
each
one,
some
details
about
his
properties
and
then
those
examples
lay
it
out
for
you
in
a
really
easy
to
read
and
navigate
file.
A
A
All
right
now,
of
course,
even
with
all
this
documentation,
bundled
with
you,
our
gold
standard
in
terms
of
resources,
information,
estar,
devdas,
so
at
the
end
here,
I
want
to
make
sure
that
we
had
a
few
kind
of
links
out
there
to
give
you
some
more
information
on
setting
up
log
handlers
on
setting
of
notifications.
These
are
specialized
log
handlers,
basically
your
slack
email
handlers
and
then
more
details
on
those
variables
right.